We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reductions(acc, value)
fold(value, acc)
It's confusing to have both signatures.
I made the mistake of doing reductions(function (v, acc) { ... })
reductions(function (v, acc) { ... })
The text was updated successfully, but these errors were encountered:
You're right, although I would still prefer fold(input, function(acc, v) { ... }) since every other language follows that pattern.
fold(input, function(acc, v) { ... })
Sorry, something went wrong.
fold(function (acc, v) { ... }) is fine. Just give me forEach(function (v) { ... }) :D
fold(function (acc, v) { ... })
forEach(function (v) { ... })
No branches or pull requests
It's confusing to have both signatures.
I made the mistake of doing
reductions(function (v, acc) { ... })
The text was updated successfully, but these errors were encountered: