4 ms·
Just use Ramda, it's a utility library that "gets the argument order correct", and supports currying and other nice FP concepts. http://ramdajs.com/ http://ram
by jestar_jokin 10y ago
Just use Ramda, it's a utility library that "gets the argument order correct", and supports currying and other nice FP concepts.
http://ramdajs.com/ http://ramdajs.com/
http://fr.umio.us/why-ramda/ http://fr.umio.us/why-ramda/
- jdd 10y agoBTW there's lodash/fp modules too: https://github.com/lodash/lodash/wiki/FP-Guide https://github.com/lodash/lodash/wiki/FP-Guide https://simonsmith.io/dipping-a-toe-into-functional-js-with-lodash-fp/ https://simonsmith.io/dipping-a-toe-into-functional-js-with-... https://medium.com/@jdalton/just-a-heads-up-the-lazy-js-benchmarks-referenced-are-comparing-3-yr-old-versions-of-libraries-f9c45eca3976#.iad7ggcmk https://medium.com/@jdalton/just-a-heads-up-the-lazy-js-benc...