Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W43.2025 · 20–26 OctCore

Features

  • OCaml RFC 57: open proposal for labeled and 0-indexed unlabeled tuple projections (e.g. x.tuple, x.3). Still in discussion. #57
  • OCaml trunk (modular explicits): proposes fun (M : S) -> ... for dependent module-parameterized functions whose return type references M. Open PR. https://github.com/ocaml/ocaml/pull/13275
  • OCaml trunk (Relocatable OCaml): adds -launch-method, -runtime-search, and --enable-suffixing so bytecode executables locate the interpreter without an absolute path. Open PR series. https://github.com/ocaml/ocaml/pull/14245
  • OCaml trunk (l*printf): proposes Format.lprintf and Printf.lprintf taking a heterogeneous argument list, producing compile-time errors for extra arguments. Open PR. https://github.com/ocaml/ocaml/pull/13372
  • OCaml trunk (-i-variance): extends the -i-variance flag to classes and extension constructors; updates manpages. Open PR. https://github.com/ocaml/ocaml/pull/14315

Fixes

  • OCaml trunk (memprof): allocates memprof configuration floats on the major heap to eliminate a data race with the minor GC. Merged. https://github.com/ocaml/ocaml/pull/14304
  • OCaml trunk (#show_constructor): fixes the toplevel directive printing wrong type parameters for non-GADT extension constructors. Merged. https://github.com/ocaml/ocaml/pull/14239

Compatibility

  • OCaml trunk (pipe operator): proposes typing x |> f y as (f y x) instead of ((f y) x), breaking code relying on the current left-associative reading. Open PR. https://github.com/ocaml/ocaml/pull/14286
  • OCaml trunk (Unix C API): deprecates union sock_addr_union for struct sockaddr_storage and socklen_param_type for socklen_t, using C11 _Generic for source compatibility. Open PR. https://github.com/ocaml/ocaml/pull/14310