Thicket thicket
ocaml
REPOS 1

Core covers the OCaml compiler and language RFCs.

W18.2026 · 27 Apr – 3 Mayocaml/ocaml

Features

OCaml stdlib (extensible IO channels): Open proposal adding user-defined In_channel and Out_channel implementations via In_channel.make / Out_channel.make with read/write/flush/close callbacks. Existing C channels are renamed "native"; new channels integrate with Printf.fprintf, input_line, and combinators. #14775

OCaml stdlib (Atomic.fold_update): Open proposal adding val fold_update : ('a -> 'acc * 'a) -> 'a Atomic.t -> 'acc, enabling atomic read-modify-write that returns the previous value (e.g. Treiber-stack pop). #14725

OCAMLRUNPARAM memory units: Open proposal adding explicit w/B suffixes (e.g. s=2Mw, s=16MiB) to s, l, e parameters so users can disambiguate words from bytes. Bare k/M/G remain unchanged. #14756, issue #14658

Fixes

OCaml stdlib (Seq allocation): Merged reduction of per-element closure allocation in Seq.cycle, Seq.repeat, and Seq.forever; a follow-up making Seq.repeat constant-space was opened the same day. #14781, #14783

OCaml 5.5 (recursive + first-class modules): Open regression: let rec f (module M : S) = f (module M) compiles on 5.4 but fails on 5.5 with "The signature for this packaged module couldn't be inferred." issue #14630

OCaml compiler (Lambda labelled applications): Open proposal to merge nested labelled applications in Lambda, eliminating spurious intermediate closures when optional arguments are omitted in the inner call. #14763

Compatibility and Releases

OCaml 5.5.0~beta1 (configure on OpenSUSE): ./configure --with-relative-libdir fails because OpenSUSE defaults libdir to ${exec_prefix}/lib64, which configure treats as an explicit --libdir. A fix accepting both lib and lib64 is open. issue #14760, #14761

OCaml debugger (ocamldebug): Merged support for setting a breakpoint on a module-dependent function (tfunctor), previously unsupported. #14771