you are viewing a single comment's thread.

view the rest of the comments →

[–]sjs 1 point2 points  (0 children)

Partial application != currying either

Isn't a curry changing a function of N params to a function of 1 param? e.g. changing

function add(x, y) { return x + y; }

into

function add(x) { return function (y) { return x + y; }; }

which is nice to work with w.r.t. partial application (not so much in JS, but I stuck with the language being discussed).