Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W47.2025 · 17–23 Nov

Core repository summaries

2 active · 0 unchanged

Back to weekly digest

ocaml/RFCs

Permalink

Features

  • OCaml RFC #37 (uniform arrays): Open proposal, updated 2025-11-20, adds a CamlinternalUniform_array module and specialized primitives for arrays always using Array_tag. Discussion includes support from multiple contributors; no opposition recorded. Link

  • OCaml RFC #55 (OLC conflicts of interest): Open governance proposal, updated 2025-11-18, adds a transparency-based conflict-of-interest policy and an affiliation field to the committee member list. Link

ocaml/ocaml

Permalink

Features

OCaml stdlib (trunk): merged new lprintf-family functions in Format and Printf that accept a heterogeneous argument list, producing a compile-time error on supernumerary arguments. New names: l{,f,e,s,as}printf (Format) and l{,f,b,e,s}printf (Printf). #13372

OCaml typechecker (trunk): open PR upstreams Merlin's typing-recovery mechanism behind a new -typing-recovery flag; the typer continues past the first error and reports all errors in a file. Still work-in-progress; error reporting in CLI mode is incomplete. #14241

OCaml language (trunk): open PR implements modular explicits—functions of type (module M : S) -> foo where M may appear in foo—enabling dependent abstraction over module parameters without functors. Review deferred to after 5 December. #13275

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

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 substitution of Alias bindings under lambdas that are no longer guarded by Lfunction after the Lletrec refactoring; 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 for weak pointers. General ephemeron synchronisation remains unresolved. #14210

Compatibility and Releases

Relocatable OCaml (trunk): open PR series (first of three) removes the absolute Standard Library path from compiler binaries and the bytecode runtime. Adds --with-relative-libdir configure option, %standard_library_default primitive, and -set-runtime-default link flag. Also changes ld.conf loading to process all candidate locations and supports explicit-relative paths. #14244, #14243