title | excerpt |
---|---|
Ramda |
a practical functional library for JavaScript programmers |
Ramda is a library designed specifically for a functional programming style, one that makes it easy to create functional pipelines, one that never mutates user data.
- Ramda emphasizes a purer functional style. Immutability and side-effect free functions are at the heart of its design philosophy. This can help you get the job done with simple, elegant code.
- Ramda functions are automatically curried. This allows you to easily build up new functions from old ones simply by not supplying the final parameters.
- The parameters to Ramda functions are arranged to make it convenient for currying. The data to be operated on is generally supplied last.
Ramda makes it very easy to build functions as sequences of simpler functions, each of which transforms the data and passes it along to the next.