Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W15.2026 · 6–12 AprCore

Features

  • OCaml RFC 52 (proposal): introduces a [%call_pos] attribute that auto-fills a labelled Lexing.position parameter with the call-site location. Still open. #52

  • OCaml trunk (primitive aliases): merged new syntax external foo = 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. #14724

  • OCaml stdlib (Atomic): proposed Atomic.fold_update 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, excluding slow tests from default CI runs. #14713

Fixes

  • OCaml trunk (typechecker): merged the "keep expansion" change, tracking 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 bugs are in review. #14718, #14734

  • OCaml trunk (error messages): merged a hint suggesting type annotations when a GADT equation variable escapes its scope, replacing 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. #14721