Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W39.2025 · 22–28 Sep

Core repository summaries

2 active · 0 unchanged

Back to weekly digest

ocaml/RFCs

Permalink

Features

  • OCaml RFCs – Tuple projections: proposes labeled and 0-indexed unlabeled tuple projections, e.g. x.tuple and x.3. Opened by johnyob on 2025-09-26. #57

  • OCaml RFCs – for…in: proposes a for ... in loop construct over iterators. Updated 2025-09-25; open discussion addresses HOF redundancy and newcomer-benefit arguments. #56

ocaml/ocaml

Permalink

Features

  • OCaml tuple projections (PR #14257): proposes 0-indexed e.j syntax for tuple component access, including labeled tuples. An RFC was opened for broader discussion. Still open. (link)

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

  • OCaml thread-local storage (PR #13355): proposes a new Thread_local_storage module alongside Domain.DLS, sharing the same interface and implementation. Still open. (link)

  • OCaml relocatable OCaml (PR #14243): adds --with-stublibs to ./configure and makes ld.conf paths relative to the file's directory. Part of a three-PR series implementing RFC #53. Still open. (link)

Fixes

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

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

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

Compatibility and Releases

  • OCaml Format Unicode (PR #14272): 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. (link)