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

Package Sidebar

Install

npm i currier

Weekly Downloads

2

Version

1.0.1

License

ISC

Last publish

Collaborators

  • bendorshai