coating
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

/coating/

    Package Sidebar

    Install

    npm i coating

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    36.9 kB

    Total Files

    21

    Last publish

    Collaborators

    • masteryu