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-recoverycompiler 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_repeatingfor 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, andString.cutfor 5.5 or 5.6. Awaiting naming sign-off. -
OCaml RFC #56: Open proposal for a
for...initeration construct. Discussion covers closure-allocation costs, aSeq.t-based alternative, and syntax variants. (PR)
Fixes
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.