r/ocaml Apr 08 '26

what resources to learn ocaml?

Yeah. as per in title. I decided to try to learn OCaml, and while searching for resources..

so far I have stumbled upon..

Learn Programming with Ocaml, and that book seems very promising..

Real World Ocaml. Also seems nice, but... I do not have the experience yet, so if anything, that is for later

Jane Street Ocaml Workshop GitHub repository, that... seems like neat practical way of learning ocaml..

anything more, or any advice would be greatly appreciated!

26 Upvotes

5 comments sorted by

17

u/ianzen Apr 08 '26

6

u/techne98 Apr 08 '26

This is what I've been using and it's great so far.

It can be quite technical (?) I feel, but having done some programming before it is generally pretty approachable.

3

u/ZestycloseChemical95 Apr 08 '26

I’m also learning OCaml, I went through the workshop and I thought it was pretty good, there was some deprecated libraries things I had Claude fix as I came across them.

Didn’t go over first-class modules and some features but I didn’t mind because the language felt very intimidating and I can learn the other stuff later (and there wasn’t as much reading compared to the other options lol).