News for hackers. Stuff that matters.
Re:What is the advantage of currying? by manojlds on Saturday February 02, 2013 @08:22AM (#5155917)
The OP had not understood what currying is, and went about asking the question. Was expecting a more well thought question. Wonder why it was upvoted. The question itself is poor.
Re:What is the advantage of currying? by Kiro on Saturday February 02, 2013 @08:44AM (#5155940)
The answers are worse.
Re:What is the advantage of currying? by tikhonj on Saturday February 02, 2013 @12:55PM (#5156694)
What's wrong with the answers?
Re:What is the advantage of currying? by thisone on Saturday February 02, 2013 @03:16PM (#5157170)
I'm betting 99% this question is coming from someone taking the coursera "Programming Languages" course, since this week covered currying (in SML/NJ), amongst other things.

The question is poor because it specifically gives such a simple example of currying. You can't understand certain concepts without understanding when they are used, and when they aren't.

If the OP had instead said "I don't understand why List.foldl is curried instead of just accepting a tuple." Then you'd see a more productive discussion. Perhaps touching on the differences between functional language implementations.

As it is, since the question isn't formulated well, the answers are all over the place.