Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W04.2026 · 19–25 JanCore

Features

  • OCaml 5.5 String module: merged String.replace_first, String.replace_last, String.replace_all, String.split_first, String.split_last, String.split_all, and String.rsplit_all. #14436, #14437

  • OCaml Gc.Tweak: merged a stdlib module and OCAMLRUNPARAM mechanism for named GC parameters; the mark-stack pruning threshold is the first exposed. #14367

  • OCaml labeled tuple projections: open proposal adding e.~l syntax for labeled tuple component access without pattern matching. A MetaOCaml syntax clash remains unresolved. #14257, RFC #57

  • OCaml Lazy.Concurrent_blocking: open proposal adding a mutex-protected lazy thunk module for concurrent initialization in library code. #14393

  • OCaml RFC #60 (persistent compiler): open proposal adding a persistent mode to ocamlc, ocamlopt, and ocamldep to reduce per-invocation startup. Developer meeting consensus: a 10–20% gain is insufficient to commit. #60

Fixes

  • OCaml type-checker state reset: merged fix ensuring ocamlc -c foo.ml bar.ml baz.ml produces identical output to three separate invocations. #14483

  • OCaml -bin-annot-occurrences: merged fix for a fatal assertion when compiling functor arguments with the flag. #14476, #14474

  • OCaml polymorphic parameters: open issue where let f ([x] : 'a. 'a list) = ... segfaults on f [] due to incorrect polymorphic type handling in the exhaustiveness checker. Two competing fixes under review. #14434, #14480, #14479

Compatibility

  • OCaml Windows minimum version: merged change setting _WIN32_WINNT to 0x0602 (Windows 8 / Server 2012) in C preprocessor flags. Required for WaitOnAddress and WakeByAddressAll. #14484