Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W38.2025 · 15–21 SepCore

Features

  • OCaml stdlib: adds List.filter_mapi, combining index-aware mapping with filtering. Merged 2025-09-16. (PR)

  • OCaml trunk: PR #14241 adds a -typing-recovery compiler flag that reports all type errors in a file rather than stopping at the first. Open, work-in-progress.

  • OCaml trunk: PR #13275 introduces fun (M : S) -> ... syntax, allowing a function's return type to depend on a named module parameter. Open.

  • OCaml trunk: PR #14043 proposes Lazy.Atomic_repeating for concurrency-safe deferred initialization. Concurrent forcing may repeat the computation but always returns the same value. Open.

  • OCaml String module: Discussion #14137 proposes String.find_first, String.split_all, String.replace_all, and String.cut for 5.5 or 5.6. Awaiting naming sign-off.

  • OCaml RFC #56: Open proposal for a for...in iteration construct. Discussion covers closure-allocation costs, a Seq.t-based alternative, and syntax variants. (PR)

Fixes

  • OCaml 5.4: PR #14252 fixes a broken ThreadSanitizer build on the 5.4 beta branch. Merged 2025-09-16.

  • OCaml trunk: PRs #14213 and #14255 fix TSan shadow-stack crashes when running multiple programs under the sanitizer. Open.

Compatibility

  • OCaml 5.5: GADT pattern matches on non-exhaustive constructors now trigger warning 8. Maintainers confirm this is an intentional backward-incompatible change. (Issue)

  • OCaml trunk: PRs #14243–#14246 implement RFC 53 (Relocatable OCaml): --with-relative-libdir, -launch-method, -runtime-search, and name-mangled shared libraries. All open.