ramped.curry
v0.1.0
Published
Convert a function to allow partial application.
Downloads
8
Readme
Ramped curry
Convert a function to allow partial application.
See currying and partial application on Wikipedia.
Install
To add as a dependency to a Node.js project:
npm i ramped.curry --save
Usage
curry = require('ramped.curry')
add_curry = curry (a, b)->
a + b
add_4 = add_curry(4)
add_4(2)
// 6