Core covers the OCaml compiler and language RFCs.
Core repository summaries
2 active · 0 unchanged
ocaml/RFCs
PermalinkFeatures
-
OCaml RFCs – Tuple projections: proposes labeled and 0-indexed unlabeled tuple projections, e.g.
x.tupleandx.3. Opened by johnyob on 2025-09-26. #57 -
OCaml RFCs – for…in: proposes a
for ... inloop construct over iterators. Updated 2025-09-25; open discussion addresses HOF redundancy and newcomer-benefit arguments. #56
ocaml/ocaml
PermalinkFeatures
-
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)