Weak arguments in the article with badly chosen examples.
If one wanted to criticize OCaml syntax, the need for .mli-files (with different syntax for function signatures) and the rather clunky module/signature syntax would be better candidates.
If one wanted to criticize OCaml syntax, the need for .mli-files (with different syntax for function signatures) and the rather clunky module/signature syntax would be better candidates.
Sometimes I wrote (haven't written OCaml for some time now..) functions like:
let foo: int -> int = fun x ->
..
just to make them more similar to the syntax val foo: int -> int
in the module types.