A compilation of my favorite functions and patterns in functional programming
Haskell Curry is a giant. His first name denotes a textbook functional programming language, his last name a technique in functional programming. It's his surname that I shall address here.
While learning to program, currying to me seemed some esoteric concept in FP reserved for practitioners of Haskell and Clojure. But, in practical usage, it's remarkably simple.
As a general rule, any time I find myself calling the same function -- and passing it the same arguments -- it's a good time to curry the function. When a function is curried, we can preload it with certain arguments, and then pass it whatever its remaining arguments at will.