I noticed that Ocaml is extremely lacking in libraries. What is the purpose of this language at all. Is Haskell better to learn?
>>59246330
>What is the purpose of this language at all.
educational
They're both pretty useless
If you need libraries you can just make wrapper to existing C libraries.
If you need something that compiles with only sepples compiler you need to first make c wrapper for that and then wrap that into ocaml.
You could also use swig or make your own program to generate those wrappers.
Depending on your need ocaml might already have library for it or you could make one yourself.