Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W16.2026 · 13–19 AprCore

Features

  • OCaml 5.6 package types: Merged support for nested with type in package types, e.g. (module T with type t = int with type x = float). #14710

  • OCAMLRUNPARAM size units: Open PR adds explicit suffixes (Mw, MiB, MB, Gw, GiB, GB) to s, l, and e parameters. Existing bare k/M/G remain unchanged. #14756, issue #14658

Compatibility and Releases

  • OCaml typechecker object types: Merged change to eqtype and moregen that rejects mismatched field privacy in object types with a clear error instead of an uncaught exception. #14738

  • OCaml signature inclusion: Open PR allows following type abbreviations when checking signature inclusion, enabling declarations such as type b = y = T where y is a public alias. #14746, issue #13872

Fixes

  • OCaml typechecker memory: Merged fix reducing peak memory from over 20 GB to pre-5.3 levels during counter-example search in pattern-matching exhaustiveness checking. #14727

  • OCaml 5.5 typechecker: Merged fix for a spurious "syntactic arity" error when a module-dependent arrow appears in a function type constraint. #14721, issue #14719

  • OCaml Bigarray: Merged overflow check in caml_ba_reshape, fixing an out-of-bounds read and segfault. Backported to the 4.14 branch. #14691

  • ocamlyacc: Merged fix for an uninitialized lineno field in symtab.c that produced garbage line directives in generated parser files. #14748, issue #14747