rincewind < XXXX@XXXXX.COM > writes:
Yes: the Haskell tradition is to curry all functions with multiple
arguments, for consistency.
Except perhaps when a bunch of arguments is often passed around as
a whole. Then it might make sense to pack them in a single value.
Haskell compilers try to make curried functions fast, without
materializing the partial applications.
The same is true for OCaml. SML traditionally prefers uncurried
functions, but some are curried.
__("< Marcin Kowalczyk