Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W06.2026 · 2–8 FebCore

Features

  • OCaml trunk: merged optimisation of lazy for structured constants, eliminating forward-block indirection. Benchmarks show a 2.7× speedup over 5.3. #13919
  • OCaml trunk (proposed): [@large_variant] attribute removes the limit on non-constant constructors by storing the tag in an extra word. #14507
  • OCaml trunk (proposed): nested record field definitions allow anonymous inline records within record types at arbitrary depth. Inner fields are not top-level labels. #14527
  • OCaml trunk (proposed): extends type approximation to handle fun (type a) -> e under let rec for polymorphic inference on recursive bindings. #14517

Fixes

  • OCaml 5.5: fixes a segfault in Runtime_events from comparing the mmap return value against NULL instead of MAP_FAILED. Cherry-picked. #14519
  • OCaml 5.5: fixes a stray = in pretty-printer output for Ptype_external type declarations. Cherry-picked. #14518
  • OCaml trunk (proposed): fixes a startup segfault in libasmrun_shared.so on s390x RHEL/Fedora. Uses a C constructor instead of static initialisation. #14514

Compatibility and Releases

  • OCaml 5.5: caml_unix_get_sockaddr is now an inline macro, breaking C code that re-declares the symbol. Affects packages such as lwt. #14516