3 ms·
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 quest
by manojlds 14y ago
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.
- Kiro 14y agoThe answers are worse.
- tikhonj 14y agoWhat's wrong with the answers?
- thisone 14y agoI'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.
- deleted 14y ago[deleted]