OCaml Expert Course

Duration: 3 to 5 days

This training has been designed by the OCamlPro team to enable developers to use more advanced features of OCaml powerful type-system, benefit from all the open-source tools and libraries, and to write compact and efficient code.


  • Understand advanced features of the type-system

  • Interface OCaml with its environment

  • Understand the OCaml garbage collector

  • Write efficent code in OCaml


OCaml type system insights:

  • polymorphic variants

  • first-class modules

  • GADTs

  • Objects and classes

OCaml's Garbage Collector internals

Expert preprocessing

  • Camlp4 syntax extensions

  • Ppx rewriters

OCaml community toolage

  • OPAM

  • Build tools: ocamlfind, ocamlbuild, oasis, omake, etc.

A tour of OCaml community contributions

OCaml and web programming

  • Writing web servers in OCaml

  • OCaml to Javascript (Js_of_ocaml)

Course Prerequisites

The course assumes basic knowledge of the OCaml language and its programming environment.

Participants are expected to have a computer access during the course (Linux, Mac OS X or Windows), an easy-to-install OCaml archive will be provided before the course to setup a minimal but productive environment.


The course is half theory, half practice. Participants will have to write and adapt simple applications in OCaml, to build and test them. Participants can interact with the teachers about the problems they encounter with OCaml.


OCamlPro can organize this course on-site in your company, by groups of about 10 participants. Content can be customized to better fit your needs. Contact us at contact@ocamlpro.com.