
Welcome to a World of OCaml
OCaml's powerful compile-time guarantees and high performance empower companies to provide reliable and speedy services and products. Learn more about how OCaml is used in the …
Learn OCaml
Getting started with the OCaml programming language. Read the official tutorials, exercices, and language manual.
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 …
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.
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.
New Tutorials on Basics of OCaml
Nov 10, 2023 · These pages teach the basics of OCaml, starting from what is a value and continuing to basic types. Before them, the documentation on OCaml.org assumed a lot more …
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 …
OCaml Platform
The OCaml Platform combines the core OCaml compiler with a coherent set of tools, documentation, libraries, and testing resources. Detailed instructions to install OCaml and the …