OCaml tutorials

Your Help is Needed

Some of these tutorials need updating and tutorials on new topics are needed. You can contribute by visiting this project's repo on GitHub; you may use the issue tracker there to request or offer new tutorials.

Learn by Doing

  • Try OCaml Online allows you to immediately start learning OCaml in your browser, without installing it. Compiled as a single Javascript page, it gives you the full power of OCaml, even when you are disconnected from the network.
  • PLEAC-OCaml provides OCaml solutions to the complete set of problems originally posed in the very successful Perl Cookbook. OCaml is one of only 3 languages for which the full set of solutions has been provided.
  • Rosetta is a programming chrestomathy site. It provides solutions to the same task in many languages. Currently there are few tasks with OCaml solutions provided, but perhaps you would like to add new solutions.

Tutorials on OCaml

WikiBooks on OCaml

Both in french: