Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

August 2025

Monthly story not yet available.

W35.2025 · 25–31 AugCore

Features

OCaml stdlib: adds List.split_with, a generalised List.split applying a function to each element before splitting. Merged 2025-08-29. #14185

Compatibility

OCaml compiler: proposes allowing -use-runtime together with -runtime-variant, removing a prior mutual-exclusion restriction. Opened 2025-08-28; not yet merged. #14211

Fixes

OCaml runtime: Weak.set now uses a proper memory barrier, fixing a data race that could publish uninitialised pointers across domains. Merged 2025-08-29; targeted for 5.4 backport. #14209

OCaml typechecker: fixes a variance-check bypass where private type aliases could be coerced across unrelated private types via variance annotations. Merged 2025-08-27; cherry-picked to 5.4. #14202

OCaml compiler: Obj.magic and similar %identity primitives are now recognised as nonexpansive, exempting them from the value restriction. Merged 2025-08-29. #14029

OCaml on NetBSD: fixes a missing cast in the pthread_setname_np call that broke compilation. Merged 2025-08-27; cherry-picked to 5.4. #14208

ocamldebug: inverts BUILD_PATH_PREFIX_MAP when resolving source paths, restoring source-file lookup for dune-built programs. Merged 2025-08-25. #14055