Tag: Currying
Currying is a technique of evaluating function with multiple arguments, into sequence of function with single argument.
Curyying is a transformation of function that translates a function from callable as f(a, b, c) into callable as f(a)(b)(c).
function curry(f) { return function(a) { return function(b) { return f(a,b); }; }; } function sum(a, b) {...