This package has been deprecated

Author message:

bad package

currier

1.0.1 • Public • Published

Installation

$ npm install currier --save

Code Example

// Create a curried function add4Numbers
var add4Numbers = currier(function(first, second, third, fourth) {
    console.log(first+second+third+fourth);
});

// Send 3 arguments out of 4, reaction: Silent
add4Numbers(1,2,3);

// Send last final argument, rection: Prints 10
add4Numbers(4);

Motivation

Curried functions are the basis of pure functional Programming Languages like ELM. We wanted to exapamd JavaScript with this pure functional property.

Git

https://github.com/bendorshai/currier

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i currier

      Weekly Downloads

      0

      Version

      1.0.1

      License

      ISC

      Last publish

      Collaborators

      • bendorshai