News for hackers. Stuff that matters.
Re:OCaml for the Masses by Dn_Ab on Wednesday September 28, 2011 @10:42AM (#3048061)
My memory of OCaml is faded. Can you explain how Ocaml can be more verbose? Especially since the inference story in F# is not as full due to having to deal with objects with ad-hoc polymorphism. I don't see how Ocaml can be more verbose. The core language of both is virtually identical.

Also F# is not all of Ocaml. To mind, it lacks functors, ocaml strength modules and polymorphic variants. Ocaml also has the potential to be faster. At least in the single core case.

Re:OCaml for the Masses by Stasyan on Wednesday September 28, 2011 @11:11AM (#3048204)
I meant that the syntax of OCaml is more verbose. In F# (now that the #light directive is a default) you need less comparing to OCaml. Do not need to add ;; to terminate an expression (except for in REPL). Do not need to have "done" to close every loop declaration. Do not need to have "in" for "let" declarations.
Re:OCaml for the Masses by pdhborges on Wednesday September 28, 2011 @02:03PM (#3049124)
You don't need ;; to terminate an expression (except when using the REPL).
Re:OCaml for the Masses by Stasyan on Wednesday September 28, 2011 @11:18AM (#3048258)
> Ocaml also has the potential to be faster. At least in the single core case.

F# can only go as fast as .NET. Compiled OCaml though is very fast - I completely agree with you.