Thicket thicket
ocaml
REPOS 5

OxCaml covers the compiler extensions and their supporting tools and packages.

W23.2026 · 1–7 JunOxCaml

Features

  • OxCaml box types: proposes a box type operator where t# box = t, enabling explicit boxing. Under active review with open concerns on GADT exhaustiveness. #5342
  • OxCaml SSA backend: introduces an SSA intermediate representation between Cmm and CFG, selectable via -use-ssa. Off by default. #5810
  • OxCaml mode polymorphism: integrates level-relation operations into type inference behind -extension mode_polymorphism_alpha. Prints polymorphic mode variables with bounds. #5483
  • OxCaml layout-polymorphic functions: implements let poly_ f x = … translation through kind templates in slambda. Currently duplicates function bodies per call; deduplication deferred. #5870
  • OxCaml remap and alias flags: two new flags for redirecting persistent module references. -remap rewrites names in generated artifacts; -alias records a hidden module alias in the .cmi. #6182
  • OxCaml Flambda2 BFS meet: adds a breadth-first strategy for type-equation processing during meet, selectable via -X flambda2-meet-strategy=bfs. Addresses precision loss from depth-first recursion. #6191

Fixes

  • OxCaml recursive jkind computation: merged fix computing declaration jkinds in topological order. Resolves incorrect variable representations and previously rejected mutually recursive types. #6177
  • OxCaml variant unboxing: open issue identifying that eager variant unboxing in Flambda2 defeats identity-switch elimination. Proposes unboxing only when a use already has the field available. #6180

Compatibility

  • Merlin 5.4: PR #239 ("Merge minus-37") updated 2026-06-03, remains open. No merge or release within the interval. #239