5.4.0
OCaml 5.4.0
Added 7
- 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
- More than thirty new standard library functions
- New chapter in the manual on profiling OCaml programs on Linux and macOS
Changed 3
- Restored memory cleanup upon exit mode
- Many runtime and code generation improvements
- Nearly a dozen improved error messages
Fixed 1
- Around fifty bug fixes
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