Currying is a programming technique / transformation wherein an argument that takes one or more arguments is transformed into a chain of functions each taking precisely one argument. Some languages (e.g. ML, Haskell) require it.

learn more… | top users | synonyms

96
votes
14answers
41k views

What is the advantage of currying?

I just learned about currying, and while I think I understand the concept, I'm not seeing any big advantage in using it. As a trivial example I use a function that adds two values (written in ML). ...