Skip to content

main76/coating

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Functional programming with coating.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published