News for hackers. Stuff that matters.
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?
Re:OCaml 4.10 by badfrog on Saturday February 22, 2020 @08:33AM (#22390892)
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

Re:OCaml 4.10 by x0re4x on Saturday February 22, 2020 @08:04AM (#22390777)
Re:OCaml 4.10 by a7b3fa on Saturday February 22, 2020 @08:34AM (#22390899)
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.
Re:OCaml 4.10 by x0re4x on Saturday February 22, 2020 @09:17AM (#22391133)
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

https://caml.inria.fr/pub/docs/u3-ocaml/

https://ocaml.github.io/ocamlunix/

Re:OCaml 4.10 by maddyboo on Saturday February 22, 2020 @03:53PM (#22393253)
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.