3 ms·
I'm reasonably competent in Haskell and am interested in checking out OCaml. Can anyone recommend any good resources (books, tutorials, etc.) for someone like m
by a7b3fa 7y ago
I'm reasonably competent in Haskell and am interested in checking out OCaml. Can anyone recommend any good resources (books, tutorials, etc.) for someone like me to get started?
- x0re4x 7y agoSee https://www.cs.cornell.edu/courses/cs3110/2020sp/textbook/ https://www.cs.cornell.edu/courses/cs3110/2020sp/textbook/
- a7b3fa 7y agoBased on the introduction, that looks like a great book which I definitely wouldn't have found on my own, so thanks for the suggestion! I'll have to give it a try when I have some time.
- x0re4x 7y agoI have some more older links, ocaml changed a bit over time, but I think they are still relevant: https://caml.inria.fr/pub/docs/oreilly-book/html/index.html https://caml.inria.fr/pub/docs/oreilly-book/html/index.html https://caml.inria.fr/pub/docs/u3-ocaml/ https://caml.inria.fr/pub/docs/u3-ocaml/ https://ocaml.github.io/ocamlunix/ https://ocaml.github.io/ocamlunix/
- badfrog 7y agoThis book is free online: https://dev.realworldocaml.org/ https://dev.realworldocaml.org/ I like Exercism for coding exercises that have runnable test cases: https://exercism.io/tracks/ocaml https://exercism.io/tracks/ocaml
- craigsmansion 7y agoIf you're competent in Haskell, and you've ever done any lisp, you should feel right at home with ocaml. The other posters mentioned good books already. Another resource is Emacs + merlin, it really is magic when working with ocaml.
- maddyboo 7y agoI struggled quite a bit to pick up Haskell. OCaml was comparatively a breeze to learn, and a lot of fun too.