barbiturat
7/29/2017 - 7:16 PM

currying for unary function via "partial"

currying for unary function via "partial"

const fn = compose(partial(inc), of);
const futureCall = fn(5);

futureCall() //=> 6