Features
-
OCaml tuple projections (PR #14257): proposes 0-indexed
e.jsyntax 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-recoveryflag 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_storagemodule alongsideDomain.DLS, sharing the same interface and implementation. Still open. (link) -
OCaml relocatable OCaml (PR #14243): adds
--with-stublibsto./configureand makesld.confpaths 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_keynow 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_exitcall count during stack unwinding in the ThreadSanitizer runtime. (link) -
OCaml
-initwith-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
Formatbetween 5.3 and 5.4 are intentional breaking changes, not regressions. Cherry-picked to 5.4. (link)