JSPM

  • Created
  • Published
  • Downloads 8376
  • Score
    100M100P100Q123138F

A functional JavaScript library that facilitates currying and point-free programming

Package Exports

  • functional.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (functional.js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

functional.js (λ) Build Status npm version devDependency Status

functional.js is a functional JavaScript library.

It facilitates currying and point-free / tacit programming.

Documentation

Visit functionaljs.com for the full documentation.

Quick example

var add = λ.curry(function(arg1, arg2) {
    return arg1 + arg2;
});

var add3 = add(3);

add(1, 2, 3); // => 6
add3(1, 2, 3, 4, 5); // => 18

License

MIT License