Ramda homepage: http://ramdajs.com/
JS Bin that I used to demo Ramda: http://jsbin.com/cosati/edit?js,output
These are a nice introductions to basic functional programming with Ramda:
- Why Ramda? (article),
- Why Curry Helps (article) and
- Hey Underscore, You're Doing It Wrong! (video)
tap
is a really helpful to console.log
-debug in compose
and pipe
:
r.compose(
…,
r.tap(console.log),
…
)
Once you have mastered basic processing, you should look at these Ramda functions: converge
, ap
, mergeAll
Learn about lenses and transducers. This post is a great introduction by example: http://simplectic.com/blog/2015/ramda-transducers-logs/
Travel to Fantasy Land (aka “Algebraic JavaScript Specification”).
Sanctuary is a great complement to Ramda and takes you into Elm territory.