Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W25.2025 · 16–22 Junocaml/ocaml

Features

  • OCaml stdlib Domain.count: New function returning the number of spawned, non-terminated domains. Merged 2025-06-20 after initial introduction as Domain.running_domain_count was renamed. (#14086, #14096)

  • OCaml stdlib Option.for_all / Option.exists: Two new predicates mirroring their List counterparts, enabling uniform traversal over optional values. Merged 2025-06-20. (#13920)

  • OCaml stdlib Dynarray.rev_iter / rev_iteri: Iterate a dynarray from last element to first, matching Stack.iter ordering for stack-like workflows. Merged 2025-06-20. (#12877)

Compatibility and Releases

  • OCaml Relocatable OCaml test harness: New in-prefix test suite verifies that installed compiler binaries are independent of build path and installation prefix. Merged 2025-06-20; exposes Dll.search_path, Config.cc_vendor, and Bytelink.read_runtime_launch_info. (#14014)

Fixes

  • OCaml ocamldoc: Module index table no longer wraps short descriptions in a <p> tag, restoring correct vertical alignment in HTML output. Merged 2025-06-20; to be cherry-picked to 5.4. (#14098, #13896)

  • OCaml TSan runtime: Initializing writes for strings and bytes are de-instrumented, eliminating false-positive data-race reports in ThreadSanitizer builds. Merged 2025-06-18. (#14059)

  • OCaml pattern-matching compiler: Nondeterministic code generation caused by hash-table iteration order over handler IDs was reported; a fix PR is open but not yet merged. (#14088, #14091)

  • OCaml Sys / Unix runtime: Windows Unix.rename now uses the portable POSIX-like implementation; Sys.close raises on error; Unix.system raises EINVAL instead of ENOENT for non-C-safe strings. Merged 2025-06-20. (#13447)