Download Latest Version ocaml-5.4.0.tar.gz (6.3 MB)
Email in envelope

Get an email when there's a new version of OCaml

Home / 5.4.0
Name Modified Size InfoDownloads / Week
Parent folder
ocaml-5.4.0.tar.gz 2025-10-09 6.3 MB
OCaml 5.4.0 source code.tar.gz 2025-10-09 6.4 MB
OCaml 5.4.0 source code.zip 2025-10-09 8.4 MB
README.md 2025-10-09 616 Bytes
Totals: 4 Items   21.1 MB 8

Some of the highlights of OCaml 5.4.0 are:

  • Labelled tuples
  • Immutable arrays
  • Array literal syntax support for immutable arrays and floatarrays (through type-directed disambiguation)
  • Atomic record fields
  • Four new standard library modules: Pair, Pqueue, Repr, and Iarray
  • Restored "memory cleanup upon exit" mode
  • New chapter in the manual on profiling OCaml programs on Linux and macOS

And a lot of incremental changes:

  • Many runtime and code generation improvements
  • More than thirty new standard library functions
  • Nearly a dozen improved error messages
  • Around fifty bug fixes
Source: README.md, updated 2025-10-09