Open links in new tab
  1. Welcome to a World of OCaml

    OCaml is a general-purpose, industrial-strength programming language with an emphasis on expressiveness and safety.

  2. Learn OCaml

    Getting started with the OCaml programming language. Read the official tutorials, exercices, and language manual.

  3. Why OCaml?

    OCaml is a mature, statically-typed, functional programming language. Learn more about its rich history and what makes it unique.

  4. 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 features.

  5. Your First OCaml Program

    Voilà! You've just written your first OCaml program. In the rest of this tutorial, we will make more changes to this project in order to illustrate OCaml's tooling. Watch Mode Before we dive in, note that …

  6. 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.

  7. 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.

  8. Configuring Your Editor · OCaml Documentation

    The OCaml ecosystem provides ocaml-lsp-server, a Language Server Protocol (LSP) server that delivers editor features such as "jump to definition," "show type," autocompletion, and more.

  9. OCaml Changelog

    Mar 19, 2026 · OCaml Changelog Official stable release announcements and updates from the OCaml compiler, OCaml infrastructure and the OCaml Platform Tools.

  10. Why Lean 4 replaced OCaml as my Primary Language

    Aug 15, 2025 · Imperative procedures are compared between OCaml and lean – but for some reason it does not give a strictly equivalent bit of OCaml code? The critique of OCaml seems to be that …