3 ms·
What's wrong with the answers?
by tikhonj 14y ago
What'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.