Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W50.2025 · 8–14 DecCore

Features

  • OCaml RFC 54: merged 2025-12-12. Proposes transparent ascription in the signature language and a redesigned aliasing mechanism. #54

  • OCaml RFC 53: merged 2025-12-12. Proposes relocatable compiler installations without rebuilding, removing the fixed Standard Library path constraint. #53

  • OCaml relocatable build: merged --with-relative-libdir configure option and --enable-suffixing for name-mangled shared libraries. New ocamlc flags -launch-method and -runtime-search control bytecode executable startup. (#14244, #14245)

  • OCaml modular explicits: open proposal for dependent functions over module parameters, e.g. fun (M : S) -> ..., enabling abstraction over higher-kinded types without functors. (#13275)

  • OCaml typing recovery: open proposal adding a -typing-recovery flag to continue past the first type error and report all errors in a file. (#14241)

  • OCaml Atomic.Array: open proposal for a module providing compare_and_set, exchange, and fetch_and_add for lock-free concurrent code. (#14380)

Fixes

  • OCaml Unix socket: sun_path address length now includes the trailing NUL byte, correcting the value on non-Linux platforms and improving Haiku compatibility. Merged. (#14406)

  • OCaml domain backtrace: child domains now inherit the parent's Printexc.record_backtrace state instead of defaulting to off. Merged. (#14416)

Compatibility

  • OCaml type checker: let rec (module M) = ... is no longer accepted; the construct was undocumented. Merged. (#14388)

  • OCaml cmt files: OCAML_BINANNOT_WITHENV removed; cmt files now always strip the type-checking environment. Merged. (#14373)