le-curriere

1.0.3 • Public • Published

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.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i le-curriere

      Weekly Downloads

      1

      Version

      1.0.3

      License

      ISC

      Unpacked Size

      2.57 MB

      Total Files

      41

      Last publish

      Collaborators

      • miiasond