Thicket thicket
ocaml
REPOS 1

Core covers the OCaml compiler and language RFCs.

W03.2026 · 12–18 Janocaml/ocaml

Features

OCaml stdlib: adds Array.stable_sort_sub, a stable sort over a sub-array segment, merged for 5.5. Useful for implementing sorting on dynamic arrays. #13343

OCaml stdlib: adds Seq.delay, which defers evaluation of a sequence-producing thunk until the first element is requested. Merged for 5.5. #10177

OCaml stdlib: adds String.includes ~affix, completing the set alongside String.starts_with and String.ends_with. Merged for 5.5. #14439

OCaml manual: documents the effect keyword, raw identifiers, and the -keywords flag's effect on the reserved-word set. Merged by @nojb. #14468

OCaml compiler (cmt): associates UIDs with functor-parameter and first-class-module usages that lack a concrete definition, enabling project-wide rename in Merlin. #14120

Fixes

OCaml runtime (Windows): replaces GetTempFileName-based path generation in Unix.socketpair with a PID-plus-counter scheme, eliminating the TOCTOU race that caused EADDRINUSE under concurrent domains. #14461

OCaml stdlib: tightens the two-way substring-search preprocessing condition, catching more periodic-needle cases and reducing comparisons. Merged by @Octachron. #14463

Compatibility and Releases

OCaml runtime (proposal): reduces continuation objects from two words to one by forming a fiber cycle, saving one allocation per effect. Open PR; all backends implemented. #14469

OCaml stdlib (proposal): introduces Lazy.Concurrent_blocking, a mutex-protected lazy thunk for safe concurrent initialization. Open PR; name signals the blocking limitation. #14393