1.2.0 • Published 7 years ago

naivefp v1.2.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

naivefp

A naive implementation of functional library for JavaScript programmers

Installation

This module is distributed via npm which is bundled with node and should be installed as one of your project's dependencies:

npm install --save naivefp

Usage

Functions list: log, map, filter, reduce, reduceRight, head, last, tail, compose, pipe, curry, concat, reverse, length, min & max

import { map, filter, curry} from 'naivefp';

const double = map( x => x * 2 );
double([1,2,3]);

Functions have fixed arities to support auto-currying: map, filter, reduce, reduceRight

Inspiration

Other Solutions

I'm not aware of any, if you are please make a pull request and add it here!

1.2.0

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago