Thicket thicket
ocaml
REPOS 27

April 2025

Monthly story not yet available.

W17.2025 · 21–27 AprAll

The OCaml compiler merged a rename of the internal transparent_modules flag to no_alias_deps in Clflags, requiring ppx authors to update references. Picos merged periodic fiber stealing in its multififo scheduler to balance load across worker threads.

Features

  • OCaml stdlib: Option.blend proposed to combine two options, returning None only when both inputs are None. #13995 opened.
  • Picos multififo scheduler: merged periodic fiber stealing to balance load across worker threads. Each worker uses a countdown targeting a random victim with a longer ready queue. #358
  • Picos structured concurrency: merged an example implementing guarded case statements on top of Picos primitives. Attributed to @polytypic. #355
  • opam: open proposal to check depexts status during opam update, addressing stale dependency-extension information. #6489

Compatibility

  • OCaml build system: incremental make -j rebuilds fail after stdlib changes because phony-target dependencies do not trigger recompilation of compiler-libs archives. #13993 open.
  • ocamldoc: fails to parse code examples containing attributes such as [@foo], triggered by a lexer rule for @lowercase. #13990 open.

Fixes

  • OCaml compiler: internal flag transparent_modules renamed to no_alias_deps in Clflags; ppx authors referencing the old name must update. #13972 merged.
  • OCaml typing: [@remove_aliases] can produce ill-formed signatures by weakening module equalities that functor applications depend on. #13979 opened.
  • Dune package management: dune pkg lock fails with a cross-device link error when refreshing a lock file across filesystem boundaries. #11644 open.
  • js_of_ocaml (Wasm): DOM event handlers registered at top level do not fire because Wasm compilation is asynchronous. A maintainer workaround checks readyState before attaching the listener. #1948 open.
  • Eio_linux: Uring.cancel after Unix.fork in a multi-domain program hangs; the submission queue appears full post-fork. #801 open.
  • domainslib: Domainslib.Task.teardown_pool hangs at 0% CPU when called after run on a pool sized to recommended_domain_count () - 1. #131 open.