Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W06.2026 · 2–8 Feb

Core repository summaries

1 active · 1 unchanged

Back to weekly digest

ocaml/ocaml

Permalink

Features

OCaml trunk: merged optimisation of lazy for structured constants, eliminating forward-block indirection at compile time. Benchmarks show a 2.7× speedup over 5.3 for structured lazy construction. #13919

OCaml trunk: proposes a [@large_variant] attribute that removes the limit on non-constant constructors by storing the tag in an extra word. Open for discussion; not yet merged. #14507

OCaml trunk: proposes nested record field definitions, allowing anonymous inline records within record types with arbitrary nesting depth. Inner fields are not registered as top-level labels. #14527

OCaml trunk: proposes extending type approximation to handle fun (type a) -> e under let rec, enabling polymorphic inference for recursive bindings with locally abstract types. #14517

Fixes

OCaml 5.5: fixes a segfault in Runtime_events caused by comparing the mmap return value against NULL instead of MAP_FAILED. Cherry-picked to the 5.5 branch. #14519

OCaml 5.5: fixes a stray = in the pretty-printer output for Ptype_external type declarations. Cherry-picked to the 5.5 branch. #14518

OCaml trunk: proposes a fix for a startup segfault in libasmrun_shared.so on s390x RHEL/Fedora, where global root skiplists receive garbage pointers. Uses a C constructor function instead of static initialisation. #14514

Compatibility and Releases

OCaml 5.5: caml_unix_get_sockaddr is now an inline macro rather than a function declaration, breaking C code that re-declares the symbol. Affects packages such as lwt that include the header and re-declare the function. #14516

1 repository · no changes