getify / Functional-Light-JS

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

Update ch3.md #45

Closed rkichenama closed 7 years ago

rkichenama commented 7 years ago

As written previously, it would take only the first passed parameter in the currying calls. This update concats all passed parameters to prevArgs. Also sprinkles more ES6 sugar.

Yes, I promise I've read the Contributions Guidelines (please feel free to remove this line).

getify commented 7 years ago

The curry only taking one param is on purpose, see the discussion of loose currying later in the chapter.

getify commented 7 years ago

Closing for now. If I'm missing something, please let me know. :)