News for hackers. Stuff that matters.
Re:Real World Ocaml announced by cageface on Monday February 27, 2012 @10:53PM (#3641812)
The biggest differences are that Haskell defaults to lazy evaluation and OCaml defaults to strict and that OCaml allows you to mix in imperative code without explicitly using constructs like monads.
Re:Real World Ocaml announced by Hemospectrum on Tuesday February 28, 2012 @02:20PM (#3644484)
I think modules vs. typeclasses are a bigger difference. The Haskell approach to IO isolation would be much more horrible without exploiting features peculiar to the typeclass system. The IO system in early versions of Haskell did not exploit these features, and it was a disaster (http://research.microsoft.com/en-us/um/people/simonpj/Papers...).
Re:Real World Ocaml announced by getsat on Tuesday February 28, 2012 @12:00AM (#3641957)
Re:Real World Ocaml announced by Drbble on Tuesday February 28, 2012 @01:21AM (#3642137)
Sort of. It is more like every function in OCaml is in IO. There is just no purity guarantee anywhere.