Question: why ocaml is better than haskell?
Answer: The main advantage of OCaml is that its compiler is way simpler and produces code with more predictable performance. Some of the consequences are: It is easier to port it to new platforms. OCaml can compile to portable byte code and to machine code as well as to JavaScript.