Core covers the OCaml compiler and language RFCs.
Core repository summaries
2 active · 0 unchanged
ocaml/RFCs
PermalinkFeatures
- OCaml RFC 52 (proposal): introduces a
[%call_pos]attribute that auto-fills a labelledLexing.positionparameter with the call-site location in signatures and implementations. Still open; last updated 2026-04-09. #52
ocaml/ocaml
PermalinkFeatures
-
OCaml trunk (primitive aliases): Merged new syntax
external foo = Bar.bazandexternal foo : quux = Bar.bazto 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_iarrayfor pretty-printing immutable arrays, addressing a gap noted in #14320. #14724 -
OCaml stdlib (Atomic): Proposed
Atomic.fold_update : ('a -> 'a * 'a) -> 'a Atomic.t -> 'ato perform an atomic update and return the new value. Naming is under active discussion. #14725
Compatibility and Releases
- OCaml trunk (ocamltest): Merged a
coldaction that skips tests unlessOCAMLTEST_COLD_TESTSis 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