Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W47.2025 · 17–23 NovCore

Features

  • OCaml stdlib (trunk): merged lprintf-family functions in Format and Printf accepting heterogeneous argument lists; supernumerary arguments produce a compile-time error. New names: l{,f,e,s,as}printf and l{,f,b,e,s}printf. #13372

  • OCaml typechecker (trunk): open PR adds a -typing-recovery flag; the typer continues past the first error and reports all errors in a file. Work-in-progress; CLI error reporting is incomplete. #14241

  • OCaml language (trunk): open PR implements modular explicits—functions of type (module M : S) -> foo where M may appear in foo. Enables dependent abstraction over module parameters without functors. #13275

  • OCaml runtime (trunk): open PR adds named GC parameters settable via OCAMLRUNPARAM and a new Gc.Tweak stdlib module. First parameter: mark-stack pruning threshold. #14367

  • OCaml RFC #37: open proposal adds a CamlinternalUniform_array module and specialized primitives for arrays always using Array_tag. No opposition recorded. Link

  • OCaml RFC #55: open governance proposal adds a transparency-based conflict-of-interest policy and an affiliation field to the committee member list. Link

Fixes

  • Domain.join (trunk): merged fix preserves the originating domain's backtrace when Domain.join re-raises an uncaught exception, instead of reporting the backtrace at the join call site. #14363

  • Simplif (trunk): merged fix prevents incorrect substitution of Alias bindings under lambdas; previously certain allocations could outlive their intended scope. #14368

  • Ephemeron runtime (trunk): merged fix replaces non-atomic writes to the ephemeron data field with relaxed atomic writes, silencing TSan data-race reports. General synchronisation remains unresolved. #14210

Compatibility

  • Relocatable OCaml (trunk): open PR series removes the absolute Standard Library path from compiler binaries and the bytecode runtime. Adds --with-relative-libdir configure option and -set-runtime-default link flag. #14244, #14243