Skip to content

A simple function to curry a function with an arbitrary number of arguments.

Notifications You must be signed in to change notification settings

thunklife/fn-curry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fn-curry

A simple function to curry a function with an arbitrary number of arguments

install

npm install fn-curry

usage

var curry = require('fn-curry'),
	add =curry(function(a,b){
		return a + b;
	});

add(5); //=> [Function]

var add1 = add(1);
add1(5); //=> 6

license

MIT

About

A simple function to curry a function with an arbitrary number of arguments.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published