Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

April 2026

Monthly story not yet available.

W18.2026 · 27 Apr – 3 MayCore

Features

OCaml stdlib (extensible IO channels): Open proposal adding In_channel.make / Out_channel.make for user-defined channels with read/write/flush/close callbacks. Existing C channels become "native"; new channels work with Printf.fprintf and input_line. #14775

OCaml stdlib (Atomic.fold_update): Open proposal adding val fold_update : ('a -> 'acc * 'a) -> 'a Atomic.t -> 'acc for atomic read-modify-write returning the previous value. #14725

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

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 is open. #14781, #14783

OCaml 5.5 (first-class modules): Open regression: let rec f (module M : S) = f (module M) compiles on 5.4 but fails on 5.5 with a signature-inference error. issue #14630

OCaml compiler (Lambda labelled applications): Open proposal to merge nested labelled applications, 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

OCaml RFCs: PR #30 removing the modular IO RFC was closed without merging on 2026-04-27. The RFC remains in the repository.