4 ms·
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 usefu
by girvo 10y 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 https://github.com/ramda/ramda-fantasy
[1] https://github.com/fantasyland/fantasy-land https://github.com/fantasyland/fantasy-land
- spraak 10y agoHere[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 https://github.com/hemanth/ramda-repl