Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W49.2025 · 1–7 Decocaml/ocaml

Features

OCaml trunk: Merged support for arbitrary structure items in let expressions, excluding let bindings and include. #14040

OCaml trunk: Modular explicits (fun (M : S) -> ...) proposed as a new language feature for dependent functions over module parameters. #13275

OCaml trunk: Relocatable OCaml series adds --with-relative-libdir, -runtime-search, and name-mangling for bytecode interpreters and shared libraries. #14244, #14245

Fixes

OCaml toplevel: Merged fix so that ocaml -init <file> -e <expr> now evaluates the init file before the -e expression. #14190

OCaml Unix library: Proposed fix for incorrect addr_len calculation in caml_unix_get_sockaddr for pathname sockets, affecting Haiku. #14406

Compatibility and Releases

OCaml trunk: Proposed removal of let rec (module M) = ..., an undocumented construct; replacement via let module rec in #14040. #14388

OCaml Stdlib: Proposed change to Filename.quote and Filename.quote_command to quote only when necessary per POSIX.1-2024, with a ?always:bool parameter for backward compatibility. #14378

OCaml bytecode: Proposed -bytecomp-hints flag to embed lambda optimization hints (immutability, bigarray layout) in bytecode for Js_of_ocaml and Wasm_of_ocaml. #13438