Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W50.2025 · 8–14 Decocaml/ocaml

Features

Relocatable OCaml: merged --with-relative-libdir configure option and --enable-suffixing for name-mangled shared libraries and interpreters. New ocamlc flags -launch-method and -runtime-search control bytecode executable startup. (#14244, #14245)

Modular explicits: proposal for dependent functions over module parameters, e.g. fun (M : S) -> ..., enabling abstraction over higher-kinded types without functors. Open, in review. (#13275)

Typing recovery: -typing-recovery flag continues past the first type error, reporting all errors in a file. Open, in review. (#14241)

Atomic arrays: proposed Atomic.Array module with compare_and_set, exchange, and fetch_and_add for lock-free concurrent code. Open. (#14380)

Fixes

Unix socket: sun_path address length now includes the trailing NUL byte, correcting the value on non-Linux platforms and improving Haiku compatibility. Merged. (#14406)

Domain backtrace: child domains now inherit the parent's Printexc.record_backtrace state instead of defaulting to off. Merged. (#14416)

Compatibility and Releases

let rec (module ...) removed: the type checker no longer accepts let rec (module M) = ...; the construct was undocumented and unused in practice. Merged. (#14388)

OCAML_BINANNOT_WITHENV removed: cmt files now always strip the type-checking environment; the undocumented environment variable is gone. Merged. (#14373)