FP in javascript
Javascript is easy to use with a little lanuage kernel. ES6 provides good supports for writing fp. Here write some examples about fp concepts as the followings
Curry let functions can be transformed from one state to another.
An easy way to unbox things in box.
Functions in fp has the same position with objects. We provide container for objects and functions. Applicator unboxes functions from boxes.
Things can be transformed from lower level to higher level. But what we need is a flat thing. Monad provide the ability to flat a higher level things
when it is mapped with a transform of becoming higher level.