Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W39.2025 · 22–28 SepCore

Features

  • OCaml tuple projections: proposes 0-indexed e.j syntax for tuple component access, including labeled tuples. RFC PR #57 and implementation #14257 remain open.

  • OCaml for…in: proposes a for ... in loop construct over iterators. RFC PR #56 is open; discussion addresses HOF redundancy.

  • OCaml typing recovery: adds a -typing-recovery flag so the type checker reports all errors in a file rather than stopping at the first. #14241 is open and work-in-progress.

  • OCaml relocatable build: adds --with-stublibs to ./configure and makes ld.conf paths relative to the file's directory. #14243 is open; part of RFC #53.

  • OCaml Thread_local_storage: proposes a new Thread_local_storage module alongside Domain.DLS, sharing the same interface. #13355 is open.

Fixes

  • OCaml Lambda string sharing: merged; Lambda.make_key now treats string constants as shareable, allowing match arms with identical string results to compile to a single branch. #14259

  • OCaml TSan shadow stack: merged; fixes incorrect __tsan_func_exit call count during stack unwinding in the ThreadSanitizer runtime. #14213

  • OCaml -init with -e: ocaml -init file -e "script" previously ignored the init file; this PR loads it before executing the script. #14190 is open.

Compatibility

  • OCaml Format Unicode: merged; documents that Unicode width changes in Format between 5.3 and 5.4 are intentional breaking changes, not regressions. Cherry-picked to 5.4. #14272