Thicket thicket
ocaml
REPOS 1

Core covers the OCaml compiler and language RFCs.

W15.2026 · 6–12 Aprocaml/ocaml

Features

  • OCaml trunk (primitive aliases): Merged new syntax external foo = Bar.baz and external foo : quux = Bar.baz to alias existing primitives, copying C names and representations. The typed form unifies the declared type with the source. #13377

  • OCaml stdlib (Format): Merged Format.pp_print_iarray for pretty-printing immutable arrays, addressing a gap noted in #14320. #14724

  • OCaml stdlib (Atomic): Proposed Atomic.fold_update : ('a -> 'a * 'a) -> 'a Atomic.t -> 'a to perform an atomic update and return the new value. Naming is under active discussion. #14725

Compatibility and Releases

  • OCaml trunk (ocamltest): Merged a cold action that skips tests unless OCAMLTEST_COLD_TESTS is set, allowing slow or rarely-needed tests to be excluded from default CI runs. #14713

Fixes

  • OCaml trunk (typechecker): Merged the "keep expansion" change, which tracks type-abbreviation expansions as first-class nodes. Fixes non-termination, incorrect principality, and missed ambivalence across five long-standing bugs. #11648

  • OCaml 5.5 (ephemeron GC): Merged a fix for ephemeron orphaning that left unmarked ephemerons on the live list, causing assertion failures in debug builds. Trunk fixes for related orphaning and counter bugs are in review. #14718, #14734

  • OCaml trunk (error messages): Merged a hint suggesting type annotations when a GADT equation variable escapes its scope, improving the previously unactionable "ambiguous" error. #14695

  • OCaml trunk (typing): Proposed a fix for a spurious syntactic-arity error when a function type contains a module-dependent arrow. The error incorrectly reported an arity mismatch. #14721