Thicket thicket
ocaml
REPOS 27

W38.2025 · 15–21 SepAll

OCaml stdlib gains List.filter_mapi for index-aware mapping with filtering, and Merlin (oxcaml) fixes an exponential-time bug causing 40-minute hangs in large directories. OCaml 5.5 confirms GADT pattern matches on non-exhaustive constructors now trigger warning 8 as intentional behaviour.

Features

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

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

  • Dune: PR #12188 introduces LMDB-based caching for the dune pkg revision store, cutting solving time by roughly 50%. Open.

  • opam: PR #6614 loads only changed opam files during opam update, reducing processing from ~10 s to ~0.01 s on Windows. Open.

  • js_of_ocaml: PR #1831 adds a WASI runtime target; wasm_of_ocaml --enable wasi produces a binary runnable via wasmtime. Open.

  • OxCaml: PR #4722 introduces an LLVM IR backend with exception handling, tail calls, atomics, and initial GC support. Merged.

Fixes

  • ocaml-lsp: PR #1553 fixes hover on object method calls returning "No information available" in editors. Merged.

  • Merlin (oxcaml): PR #182 fixes an exponential-time bug in the short-paths algorithm that caused 40-minute hangs in large directories. Merged 2025-09-17.

  • Dune: PR #12360 fixes dune exec -w sending a kill signal to a non-existent process group during rebuilds. Open.

  • Eio: PR #820 makes Eio.Process skip PATH lookup when the executable name contains /, matching POSIX execve semantics. Merged 2025-09-17.

Compatibility and Releases

  • OCaml 5.5: Issue #14224 confirms GADT pattern matches on non-exhaustive constructors now trigger warning 8. Maintainers state this is intentional, not a bug.

  • ocaml-iomux v0.4: Released 2025-09-17. Clamps max open files to 2^19, preventing macOS from allocating a very large Bigarray at Eio start. Upgrades to dune 3.19. Release