Not only does it have incredibly pedantic type checking, but EVERY “variable” is immutable, but of course you can make variable that is immutable to a reference that you change! So you’re left with:
let x = ref 0;;
x.contents = x.contents + 1;;
It has a syntax where nothing is grouped, so instead of making things “natural language like,” it just makes everything ambiguous. Sometimes you need a semicolon, sometimes parenthesizes. You never know which, and if you use them when you don’t need them, it complains.
It is so hard to do such simple things.
Apparently this language is only good for implementing crappy toy languages for research projects.
Bravo.
Fuck OCaml. Lisp is soooo much easier.
Others that think OCaml sucks:
Sucks
More sucks