[Haskell-cafe] Ocaml for Haskellers tutorial

jeff p mutjida at gmail.com
Fri Apr 16 21:42:06 EDT 2010


Hello,

One major thing I haven't seen explicitly mentioned yet in this thread
is tail recursion. You have to write tail recursively in OCaml (or any
strict language) or you will blow the stack. While tail recursion is
often wrong (in terms of efficiency) in Haskell, it is always right in
OCaml.

-Jeff


More information about the Haskell-Cafe mailing list