Thicket thicket
ocaml
REPOS 1

Core covers the OCaml compiler and language RFCs.

W20.2026 · 11–17 Mayocaml/ocaml

Features

  • OCaml typing recovery (PR #14241): Open proposal adding a -typing-recovery flag so the typechecker reports multiple errors per file instead of stopping at the first. Upstreamed from Merlin. Link

  • OCaml GC pacing (PR #14796): Open implementation of a new GC pacing model with configurable parameters, tracked under meta-issue #14324. Aims to reduce GC overhead in multi-domain programs. Link

  • OCaml constructors as functions (PR #14803): Open proposal to eta-expand argument-less constructor expressions in function-type contexts, enabling List.map Some [1;2;3] without explicit lambdas. Link

  • OCaml Weak module (PR #14792): Open addition of Weak.iter, Weak.iteri, and Weak.foldi_left, which traverse live slots without wrapping elements in option, avoiding per-element heap allocation. Link

Fixes

  • OCaml Pprintast (PR #14797): Merged fix restoring attribute printing for Ptyp_package nodes, correcting a regression introduced in 5.4.0 that dropped [@...] attributes during pretty-printing. Link

  • OCaml runtime ephemerons (PR #14722): Merged fix for a bug where a domain joining and terminating within one major GC cycle could corrupt num_domains_todo, causing assertion failures in debug builds. Link

  • OCaml configure (PR #14802): Merged fix for --with-relative-libdir detection on OpenSUSE, where the default libdir of ${exec_prefix}/lib64 was not recognised, breaking opam switch installation. Link

Compatibility and Releases

  • OCaml Lambda labelled applications (PR #14763): Open optimisation merging nested labelled applications with omitted arguments, eliminating spurious intermediate closures. Changes evaluation order in edge cases involving consecutive optional arguments. Link