3 ms·
Recent or just non-mainstream? I really liked going through https://github.com/janestreet/learn-ocaml-workshop https://github.com/janestreet/learn-ocaml-worksh
by a-saleh 8y ago
Recent or just non-mainstream?
I really liked going through https://github.com/janestreet/learn-ocaml-workshop https://github.com/janestreet/learn-ocaml-workshop (currently working on the frogger :)
Ocaml is a nice and reasonably simple language, especially if you dabbled with statically typed functional languages. The type-system is not as strong as Haskells, i.e. there are no type-classes, but there is meta-programming support, that
provides some of the quality-of-life enhancements stronger type system might (i.e. you often use macros for comparisons, or deriving boilerplate functions)
I would probably stick with JaneStreet ecosystem, the language on its own doesn't have standard library.
There is a support for calling C functions, but haven't tried yet, and documentation seems sketchy.