Open Raynos opened 11 years ago
You're right, although I would still prefer fold(input, function(acc, v) { ... })
since every other language follows that pattern.
fold(function (acc, v) { ... })
is fine. Just give me forEach(function (v) { ... })
:D
It's confusing to have both signatures.
I made the mistake of doing
reductions(function (v, acc) { ... })