getify / Functional-Light-JS

Pragmatic, balanced FP in JavaScript. @FLJSBook on twitter.
http://FLJSBook.com
Other
16.6k stars 1.96k forks source link

Fix curry ES6(arrow) implementation #174

Closed sJJdGG closed 5 years ago

sJJdGG commented 5 years ago

It should only accept 2 parameters.

P.S: The current implementation has no problem in runtime though as nextCurried gets shadowed in the next line. But nevertheless it can be a source of confusion for readers.