Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W17.2026 · 20–26 Apr

Core repository summaries

2 active · 0 unchanged

Back to weekly digest

ocaml/RFCs

Permalink

Features

  • OCaml RFCs – Primitive aliases (PR #44): Open proposal to extend external-primitive syntax so a primitive can be re-bound under a new identifier without repeating its full type, attributes, and symbols. Updated 2026-04-24; carries a positive-committee-recommendation label. Link

ocaml/ocaml

Permalink

Features

OCaml trunk (typing recovery): Open WIP PR adds a -typing-recovery flag so the type checker continues past the first error, collecting and reporting multiple errors in one pass. Intended to simplify Merlin integration and benefit all users. #14241

OCaml trunk (structured diagnostics): Open PR introduces a structured-diagnostics layer that emits compiler errors, warnings, and debug output in machine-readable formats (JSON, S-expression) alongside the existing text output. #13766

OCaml trunk (RISC-V frame pointers): Open PR adds frame-pointer support for RISC-V using s0 as the CFA register, enabling backtraces and stack walking on that architecture. #14506

OCaml trunk (OCAMLRUNPARAM units): Open PR adds explicit word and byte suffixes (Mw, MiB, etc.) to the s, l, and e parameters to disambiguate word-sized values from byte-sized ones. Existing k/M/G suffixes remain unchanged. #14756

Fixes

OCaml trunk (type checker): Merged fix corrects a regression where a module containing a module-dependent function failed to match its inferred signature when an included t was shadowed. The Tfunctor path was not substituted during nondep_type_rec_aux. #14768, issue #14766

OCaml trunk (Lambda labelled applications): Open PR merges nested labelled applications in Lambda, eliminating spurious intermediate closures when optional arguments are omitted in the inner call. Reduces closure count from quadratic to linear in the number of labelled arguments. #14763

OCaml trunk (ephemeron marking): Open PR changes multi-domain ephemeron marking to request a new round only after all domains finish normal marking, rather than after each individual domain. Reduces redundant ephemeron-marking passes on multi-core programs. #14774

Compatibility and Releases

ocamldoc (page titles): Merged change alters generated HTML page titles from Library name : Module_name to Module_name (Library name). Affects all ocamldoc output. #14709