News for hackers. Stuff that matters.
Re:What is the advantage of currying? by pcwalton on Saturday February 02, 2013 @09:29AM (#5156023)
Defaults and named args don't really work that well with currying. OCaml ended up adding them as a separate feature (so functions are now sorta-curried, sorta-not in OCaml).

Not that currying is a bad thing, of course. For the right functional combinators (map, reduce, etc.) currying can be put to very elegant use.

There are no comments on this comment yet.