Hacker News new | ask | show | jobs
by girvo 3633 days ago
As you start to look at these concepts, and Ramda, I highly recommend playing with ramda-fantasy[0] and the fantasy-land[1] spec that it implements. Super useful, and really made this sort of functional programming "click" for me (and, has really cleaned up some abstractions in a couple production projects, too!)

[0] https://github.com/ramda/ramda-fantasy

[1] https://github.com/fantasyland/fantasy-land

1 comments

Here[0] is a Node REPL with rambda and rambda-fantasy functions as globals. It feels so fun to use, like a whole other language.

E.g. `map(x => x*2, [1, 2, 3])` (no need to write `R.map`)

[0] https://github.com/hemanth/ramda-repl