The aim of this article is to build some intuition towards that, making a compose, pipe, and curry function from scratch.
There are loads of articles explaining what curry’ing and composition are. There is even one written by me.
But, whilst I feel my write-up was quite comprehensive, I think there is still some room left for explanation. When looking at curry’ing and composition, and the actual implementation, they seem quite terse, and it might be difficult to understand what’s actually going on. The aim of this article is to build some intuition towards that, making a
curry function from scratch. Starting with the most basic versions, and ending with the most terse / complex, but also most flexible versions.