Core covers the OCaml compiler and language RFCs.
Core repository summaries
1 active · 1 unchanged
ocaml/ocaml
PermalinkFeatures
OCaml cross-compilation: configure now accepts *-none and *-elf* target triplets for native freestanding targets, enabling cross-compilation for MirageOS unikernels. Merged in #13810.
Lazy.Atomic_repeating (proposal): new stdlib submodule for concurrency-safe deferred computations; concurrent force calls may repeat the computation but always return the same value. Open in #14043.
Modular explicits (proposal): functions parametrized over a named module whose return type may depend on that module, e.g. fun (M : S) -> .... Open in #13275; original PR #9187 closed in its favour.
Field getter syntax (proposal): introduces (.foo) as syntactic sugar for fun x -> x.foo, with type-directed disambiguation and long identifiers. Open in #14042.
Fixes
OCaml runtime: fixes a race in domain_terminate where the shared heap was orphaned after leaving the STW set, causing GC compaction to operate on missing pools. Merged in #14025; cherry-picked for 5.4.
OCaml typing: Ctype.expand_abbrev_gen now sets the scope of non-variable type nodes when expanding abbreviations in principal mode, rather than relying on recursive update_scope. Merged in #13781.
OCaml compiler: fixes a bug where caml_sys_argv called directly was incorrectly matched by the External special case in Translprim, adding a spurious argument. Merged in #10570.
Compatibility and Releases
Unix.kill (Windows): processes killed via Unix.kill now report exit code 137 (128 + SIGKILL) instead of 0. Merged in #14046; technically breaking but treated as a bug fix.