On composition and currying in JavaScript

Functional Composition, starting à la carte. Composition is a core concept of functional programming. Wikipedia defines function composition as follows: In computer science, function composition (not »

Homemade Curry

Lots of "functional programming utility libraries" (LoDash, Ramda, et. all) have a curry method. curry is quite powerful, as it allows you to build out a »

The difference between partial application and currying

Partial application and currying are often confused, but are in fact quite different. Let's use lodash to illustrate the difference between partial application and currying. function »