2 ms·
If you're interested in FP in javascript, you should check out the relatively new Ramda.js [1]. It switches from the underscore style collection first call patt
by grayrest 12y ago
If you're interested in FP in javascript, you should check out the relatively new Ramda.js [1]. It switches from the underscore style collection first call pattern to a collection last pattern and automatically curries its functions. The combination allows for easier function composition.
[1] https://github.com/CrossEye/ramda https://github.com/CrossEye/ramda
More info on the topic:
http://fr.umio.us/why-ramda/ http://fr.umio.us/why-ramda/
http://www.youtube.com/watch?v=m3svKOdZijA http://www.youtube.com/watch?v=m3svKOdZijA
https://speakerdeck.com/raganwald/javascript-combinators https://speakerdeck.com/raganwald/javascript-combinators
- vqc 12y agoI believe Javascript Allonge takes the same approach w/r/t the call pattern: http://allong.es/ http://allong.es/ The book is also very good: https://leanpub.com/javascript-allonge https://leanpub.com/javascript-allonge