1.3.0 • Published 8 years ago

function.js v1.3.0

Weekly downloads
6
License
ISC
Repository
github
Last release
8 years ago

function.js

Functional programming just easier - for npm and bower

How to use?

Using npm

npm i -S function.js
const fn = require("function.js");

Using bower

bower i -S function.js
<script src="bower_components/function.js/build/function.js"></script>

Start coding

const sum = (a, b, c, d) => a + b + c + d;

const curried = fn.curry(sum);
const uncurried = fn.uncurry(curried);

curried(1)(2)(3)(4); // 10
uncurried(1, 2, 3, 4); // 10

Complete documentation can be found here.

1.4.0

8 years ago

1.3.0

8 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago