chilli

0.1.0 • Public • Published

chilli

will curry your functions

Build Status NPM version

Getting Started

Install the module with: npm install chilli

var chilli = require('chilli');
var sum = curry(function(a, b) {
    return a + b;
});
 
var sum3 = sum(3);
var result = sum3(5);
 
//result === 8
//

Other stuff

  • documentation - maybe I will add documentation if you ask it. open an issue for this.
  • support - open an issue here.

License

MIT © 2014, Andrea Parodi

/chilli/

    Package Sidebar

    Install

    npm i chilli

    Weekly Downloads

    0

    Version

    0.1.0

    License

    none

    Last publish

    Collaborators

    • parroit