Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dgud
Copy link
Contributor

@dgud dgud commented Oct 20, 2025

To allow array creation from any type of input, for example from binaries without the need to first create a redundant list.

To allow array creation from any type of input, for example from
binaries without the need to first create a redundant list.
@dgud dgud self-assigned this Oct 20, 2025
@dgud dgud added the team:PS Assigned to OTP team PS label Oct 20, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Oct 20, 2025

CT Test Results

    2 files     97 suites   1h 6m 3s ⏱️
2 215 tests 2 164 ✅ 51 💤 0 ❌
2 603 runs  2 547 ✅ 56 💤 0 ❌

Results for commit 96771ad.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@bjorng bjorng changed the title Add a array from function Add an array from function Oct 20, 2025
@josevalim
Copy link
Contributor

I wonder if it should be called from_function for consistency with the other from_* functions.

@dgud
Copy link
Contributor Author

dgud commented Oct 23, 2025

I wonder if it should be called from_function for consistency with the other from_* functions.

Thanks for the suggestion.

Discussed this but we think it is fine as it is, the other from_* discuss the input type and here it can take any user specified data
as input.

Other functions that uses a fun like map and fold doesn't specify that it takes a fun as argument.

@dgud dgud added the testing currently being tested, tag is used by OTP internal CI label Oct 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team:PS Assigned to OTP team PS testing currently being tested, tag is used by OTP internal CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants