Re:OCaml 4.10
by a7b3fa on Saturday February 22, 2020 @07:15AM
(#22390620)
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?
[ Parent
| on HN ]
This book is free online: https://dev.realworldocaml.org/
I like Exercism for coding exercises that have runnable test cases: https://exercism.io/tracks/ocaml
Based 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.
I 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
I struggled quite a bit to pick up Haskell. OCaml was comparatively a breeze to learn, and a lot of fun too.
Re:OCaml 4.10
by craigsmansion on Saturday February 22, 2020 @09:37AM
(#22391233)
If 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.