Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W19.2026 · 4–10 MayCore

Features

  • OCaml stdlib: proposes Weak.iter, Weak.iteri, and Weak.fold_left; iteri is a C primitive avoiding per-element heap allocation. #14792 (open)
  • OCaml runtime: proposes a new GC pacing mechanism with configurable parameters, tracked as a meta-issue with prerequisite patches. #14796 (open, draft)

Fixes

  • OCaml trunk: Unix.opendir on Windows now raises ENOTDIR instead of EUNKNOWNERR -267 for non-directory paths. This is a breaking change. #14788 (merged)
  • OCaml 5.5: fixes null-pointer dereference in getgrnam_r and related POSIX thread-safe functions in libunix. Cherry-picked from trunk. #14715 (merged)
  • OCaml stdlib: Seq.repeat now allocates a single closure and cons cell for the entire cyclic sequence instead of one per element. #14783 (merged)
  • OCaml riscv64: ocamlopt emits jump tables assuming 4-byte stride, but the assembler compresses to 2-byte c.j under -march=rv64gc, causing a miscompile. #14799 (open)
  • OCaml 5.4.0: Pprintast drops attributes on package_type nodes (e.g. (module M : (A [@a]))); a fix is in review. #14797 (open)
  • OCaml typechecker: adds a scope-escape check on types built by build_as_type to prevent uncaught exceptions with or-patterns and as aliases. #14789 (open)