
Welcome to a World of OCaml
OCaml is a general-purpose, industrial-strength programming language with an emphasis on expressiveness and safety.
Learn OCaml
John Whitington's "OCaml from the Very Beginning" is a beginner-friendly guide to learning OCaml, a modern programming language. The book gradually introduces concepts in concise …
A Tour of OCaml
Hop on the OCaml sightseeing bus. This absolute beginner tutorial will drive you through the marvels and wonders of OCaml. We'll have a look at the most commonly used language …
Why OCaml?
OCaml was written in 1996 by Xavier Leroy, Jérôme Vouillon, Damien Doligez, and Didier Rémy at INRIA in France. It was inspired by a long line of research into ML, starting in the 1960s, …
Your First OCaml Program
Once you've completed this tutorial, you should be able to create, compile, and execute an OCaml project using Dune, OCaml's build system. You will be able to work with files, make …
OCaml - The OCaml Manual
The OCaml system release 5.4 October, 2025 This manual is also available in PDF, plain text, as a bundle of HTML files, and as a bundle of Emacs Info files.
Installing OCaml · OCaml Documentation
This page will help you install OCaml and the OCaml Platform Tools. | These instructions work on Windows, and Unix systems like Linux, and macOS.
Configuring Your Editor · OCaml Documentation
Opening an OCaml file should launch an ocaml-lsp server, and you can convince yourself that it's working by using, for example, the ocaml-eglot-type-enclosing command (or using the C-c C-t …
The OCaml Playground · OCaml Documentation
The OCaml Playground is made to make it easier for users, especially beginners, to get started with OCaml without worrying about installing anything. Everything is ready to use once you …
OCaml 5.3.0 Release Notes
Jan 8, 2025 · OCaml 5.3.0 was released on 2025-01-08. Learn more about this in the release notes.