1.0.3 • Published 7 years ago

le-curriere v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
7 years ago

Fucntion currier

This package curries binary functions.

How to work with it

curry = require('le-curriere').curry
add = (a, b) => a + b

// Before
[1,2,3,4].map((i) => add(i, 1))

// After
[1,2,3,4].map(curry(add)(1))

How to add changes?

This project is written in clojurescript. You have to install lumo to build /src files.

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago