package learn-ocaml-client

  1. Overview
  2. Docs
The learn-ocaml client


Dune Dependency






This is Learn-OCaml, a platform for learning the OCaml language, featuring a Web toplevel, an exercise environment, and a directory of lessons and tutorials.

A demo is available online.



To ask any question about how to use Learn-OCaml, subscribe to the mailing-list learn-ocaml-club.

To discuss about the development of Learn-OCaml, subscribe to the mailing-list learn-ocaml-dev.

License and copyright

Unless explicitly written below or in the files themselves, the source code for the app, images, static files, course content and exercises are placed under the MIT license.

Lightly modified third party components ACE and ppx_metaquot are included, under their original licenses (respectively BSD and MIT).

The OCamlPro logo images are (c) OCamlPro. Redistribution is permitted, alteration requires prior written authorization by OCamlPro.

The OCaml / logo is released under the very liberal UNLICENSE. See (

The Inconsolata font is released under the Open Font License. See (

The Biolinum font is licensed under the GNU General Public License with a the 'Font-Exception'. See (

The public instance of Learn OCaml uses the Fontin font instead of Biolinum. This font is licensed under the exljbris Font Foundry Free Font License Agreement, which, to our understanding, does not allow us to redistribute it. See ( You will optionally have to procure the files by yourself while building the app. If not, the CSS provides a reasonable fallback font.

Contributions to this repository are placed under the MIT license. This means that we can merge them with the same license as the rest of the codebase, while you keep all the rights on your code. And we will not have to bother you with any future license update. See (

Authors and Acknowledgements

Learn-OCaml is a free software by the OCaml Software Foundation.

  • The main authors are Benjamin Canou, Çağdaş Bozman and Grégoire Henry.

  • It builds on the previous experience of Try OCaml by Çağdaş Bozman.

  • We heavily use js_of_ocaml, so thanks to the Ocsigen team.

  • The text editing component is a customized version of ACE.

  • We also include a derivative of ppx_metaquot by Alain Frisch.


Innovation. Community. Security.