Thicket thicket
ocaml
REPOS 1

Core covers the OCaml compiler and language RFCs.

W02.2026 · 5–11 Janocaml/ocaml

Features

  • OCaml stdlib (trunk): adds Int.popcount, Int.nlz, Int.ntz, Int.nls, Int.unsigned_bitsize, and Int.signed_bitsize to Int, Int32, Int64, and Nativeint. Merged by Xavier Leroy. #14433
  • OCaml stdlib (trunk): adds Int.fdiv, Int.cdiv, Int.ediv, and Int.emod (floor, ceil, Euclidean division and remainder) to Int, Int32, Int64, and Nativeint. Merged by Xavier Leroy. #14432
  • OCaml stdlib (trunk): adds String.find_first, String.find_last, String.find_first_index, String.find_last_index, String.find_all, and String.rfind_all as search primitives. Merged by David Bünzli. #14381
  • OCaml compiler (trunk): signature-mismatch errors now include "Hint: X is a close match" suggestions when an implementation name is a near-spelling of a required name. Merged by Gabriel Scherer. #14330
  • ocamllex (trunk): open PR adds a warning when a rule is not exhaustive, printing an example of nonmatching input and a suggested fix. #14448
  • OCaml (proposal): open PR introduces a [@@unstable] attribute and [@@@unstable_feature] top-level attribute to gate experimental APIs behind a -Z flag or local opt-in. #14430

Fixes

  • OCaml Unix (Windows): open PR replaces GetTempFileName-based path generation in Unix.socketpair with PID-plus-counter naming to eliminate racy address-in-use errors under concurrent domains. #14461
  • OCaml compiler (trunk): Untypeast now correctly round-trips qualified patterns M.{ x }, avoiding spurious "Unbound record field" errors. Merged by Benjamin Clement. #14457