Outbound Link Summary:
3 months ago
p3k dots

Yay, I finally understood currying!

How to compose JavaScript functions that take multiple parameters (the epic guide).

Function composition is beautiful. It lets us create elegant function pipelines. And when everything lines up, the data flows like maple syrup over pancakes. But what happens when the functions don’t line up? What if some of those functions expect more than one argument? What do we do?