Functional programming with coating.
npm install coating --save
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.
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.
TODO