1.0.0 • Published 6 years ago

coating v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

coating

Functional programming with coating.

get coating

npm install coating --save

example

Here is an simple example

import coating = require('coating');
let foo = (a, b, c) => a + b * c;
let fo = coating(foo)(1);

>>> fo(2, 3) === foo(1, 2, 3)
true
>>> fo(3, 4) === foo(1, 3, 4)
true

see more complex example here.

intellisense

Coating has powerful declaration file, you won't get puzzled for how many parameters are still requiring and you don't need to use operator as to specify the return value of the final step.

intellisense

what is functional programming & why or when to use it

TODO