Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W48.2025 · 24–30 Novocaml/ocaml

Features

OCaml stdlib: String.{drop,take,cut}_{first,last}_while merged, adding predicate-based string splitting to the standard library. #14362

OCaml parser: PR proposes allowing arbitrary structure items (except let bindings and include) inside let expressions, extending the language grammar. #14040

OCaml language: Modular explicits (fun (M : S) -> …) enable dependent functions over module parameters, a long-requested alternative to functors. #13275

OCaml stdlib: Atomic.Array module proposed, providing atomic get/set/exchange/compare-and-set on array elements for low-level concurrent code. #14380

OCaml stdlib: Lazy.Concurrent_blocking proposed as a mutex-protected lazy thunk for safe concurrent initialization without blocking on user-level schedulers. #14393

Fixes

OCaml Dynlink: Dynlink.loadfile now calls dlclose when a .cmxs fails to load before initialisation code runs, allowing a corrected file to be reloaded in the same process. #14391

OCaml runtime: Memory corruption reported in Queue/ref-table overflow on x86_64 (5.3.0 and 5.4.0), producing spurious values and segfaults; reproduced on Linux and Windows. #14396

Compatibility and Releases

OCaml runtime: Relocatable OCaml ld.conf handling merged: lines with ./ or ../ are resolved relative to the file, and ld.conf is now loaded from all candidate locations rather than only OCAMLLIB. #14243