Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W27.2026 · 29 Jun – 5 JulCore

Features

  • #14900 (merged): Removes closure allocations from deep_occur_rec. Type-checking time drops 20–45 % on large types.
  • #14907 (open): Proposes removing the 2¹⁶ range limit on integer pattern-matching intervals. The Switch compiler previously fell back to sequential tests for wider ranges.

Proposals

  • #62 (open, ocaml/RFCs): Proposes an API for manipulating Destination values. Status: open, not merged.

Fixes

  • #14892 (merged): Non-dependent package-type application no longer erases the result type. Eliminates spurious "too many arguments" errors with abstract module types.
  • #14905 (open): ocamlc loops indefinitely at 100 % CPU on a file combining Type.Id.t with polymorphic variants. Fixed in trunk; backport to 5.5.1 under discussion.
  • #14898 (open): A GADT with partial pattern matching and syntactic function arity produces an invalid value_kind in lambda. ocamlopt segfaults.
  • #14906 (open): caml_shutdown() loops when ephemerons remain from a dead domain in cleanup-at-exit mode (OCAMLRUNPARAM=c=1).
  • #14688 (merged): ephe_mark() now calls mark() directly on each markable datum. Improves major-GC throughput in multi-domain programs with many ephemerons.