You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tasks.ex:288:
Each item will be appended to the given args and processed by its own task.
And I simply guessed each item in the enumerable will be appended so that the item becomes the last item of args. But when I actually tried this function, I saw the item had been passed as the first argument to the given function, and it makes me a little bit confused.
Expected behavior
I am quite new to functional programming languages, and the word "appending" may have different meaning in this world. But whether it's intended or not, I think this still needs to be clarified by using the opposite word, or by adding some additional explanation.
The text was updated successfully, but these errors were encountered:
Environment
Elixir & Erlang versions (elixir -v):
Operating system:
Debian GNU/Linux 8.5 (jessie)
Current behavior
The documentation for
Task.async_stream/5
says:And I simply guessed each item in the
enumerable
will be appended so that the item becomes the last item ofargs
. But when I actually tried this function, I saw the item had been passed as the first argument to the givenfunction
, and it makes me a little bit confused.Expected behavior
I am quite new to functional programming languages, and the word "appending" may have different meaning in this world. But whether it's intended or not, I think this still needs to be clarified by using the opposite word, or by adding some additional explanation.
The text was updated successfully, but these errors were encountered: