[Haskell-cafe] Haskell vs OCaml

Lennart Augustsson lennart at augustsson.net
Sun Dec 25 04:25:44 EST 2005

Branimir Maksimovic wrote:
> I've found that Haskell is pretty good in implementing recursive 
> algorithms.
> Problem cames when one want's to implement non recursive algorithm
> by terms of recursion as Haskell does not support loops.
> Perhaps if we can get loops, situation will improve, but then that
> wouldn't be functional style.

Could you give an example of a loop you find awkward in Haskell?
I've often found that you can just define a control construct
in Haskell when needed (e.g., some kind of loop).

	-- Lennart

More information about the Haskell-Cafe mailing list