Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W36.2025 · 1–7 SepCore

Features

  • OCaml trunk: include functor F proposal adds a structure item applying a functor to current module contents. Open for Language Committee review. #14177
  • OCaml trunk: --no-inter-tail-calls flag proposal disables interprocedural tail-call optimisation in ocamlopt and ocamlnat. Open for review. #14186

Compatibility

  • OCaml trunk: the partial-match warning now triggers for GADT indices using local abstract types. Use type a = private A as a workaround. #14224

Fixes

  • OCaml 5.4: fixes C++ name-mangling of caml_state on Cygwin by using _Thread_local in C++ mode. Merged to trunk and 5.4. #14220
  • OCaml trunk: fixes functor error messages reporting identical types as incompatible due to a missing equality check. Merged; to be cherry-picked to 5.4. #14221
  • OCaml 5.4: restores correct toplevel printing of qualified variant constructors and record labels, previously shown as Lib__Module. Merged to trunk and 5.4. #14192
  • OCaml 5.4: fixes st_stubs.c compilation with mingw-w64 13.0.0 by defining WINPTHREADS_USE_DLLIMPORT before header includes. Merged. #14223
  • OCaml 5.2: unmarshal-heavy workloads (e.g. Coq Require) were 30–40% slower than OCaml 4 due to excessive major GC slices. Resolved via Gc.ramp_up/Gc.ramp_down. #13300