News for hackers. Stuff that matters.
Re:What is the advantage of currying? by dschiptsov on Saturday February 02, 2013 @10:34AM (#5156182)
You can write fancy code in Haskell and then write long, narcissistic blog posts.)

Seriously, it is all about closures - you could capture (and delay) the computation, like creating a closure (a function with its parameters) and then actually execute the code when some other conditions were meet. Currying allows you to execute all steps but last one, for example, so you will have a returned function to call whenever you wish.

There are no comments on this comment yet.