Functional programming utility toolkit
npm install futils!futils Logo
A collection of tools for functional programming in JavaScript




.trampoline | Useful to create tail recursive functions in a not tail recursive language. |
.operation | Functions that allow to operate with various data structures in a Point-Free form. |
.lambda | Contains helpers for working with functions, like curry, flip and compose. |
.adt | Allows easy creation of algebraic single and union data types. |
.generics | Building blocks for new data structures which can derive generic methods. |
.monoid | A collection of some of the most common monoidal structures like Sum and All. |
.data | Pre-made data structures. All of these implement various interface contracts (typeclasses). |
.optic | van Laarhoven based lenses for Object and Array structures. |
npm i futils |
|
|