Core covers the OCaml compiler and language RFCs.
Core repository summaries
2 active · 0 unchanged
ocaml/RFCs
PermalinkFeatures
- OCaml RFC
for...in(PR #56): Open proposal by giltho for afor...inloop construct, described as syntactic sugar over existing iterator calls such asList.iter. Still in discussion; no merged or released change. #56
ocaml/ocaml
PermalinkFeatures
-
OCaml trunk (typing recovery): Open PR upstreams Merlin's typing recovery into the typechecker via a
-typing-recoveryflag, letting the compiler report multiple errors in a single pass rather than stopping at the first. #14241 -
OCaml trunk (as-patterns): Open PR lifts restrictions on existentials in as-patterns, enabling retyping of patterns such as
Value_boxed_int _ as y. Reviewers flag a potential regression when mixing existential and non-existential constructors. #14229 -
OCaml trunk (transparent ascription): Open PR implements step 1 of the transparent ascription RFC, splitting module aliases into static and dynamic variants with
[@@static_alias]and[@@dynamic_alias]attributes. #14064
Fixes
-
OCaml trunk (warnings): Merged PR silences unused-constructor warnings on variant constructors defined as
private, supporting the GADT-index patterntype a = private Arecommended in the manual. #14225 -
OCaml 5.4 (parsetree mapper): Merged PR adds a missing location in toplevel directive arguments to AST mappers and iterators, fixing tools such as ocamlformat that normalize locations. #14236
-
OCaml trunk (C headers): PR opened during this period removes an unused variadic argument from
CAML*allocmacros inmemory.h, resolving a C99 compliance error when user code includes the header under strict warnings. #14238 -
OCaml trunk (compaction): Merged PR applies integral type hygiene throughout the compaction code, fixing potential integer-overflow bugs identified in OxCaml. #14123
-
OCaml toplevel (
-init): Open PR fixesocaml -init FILE -e "expr"so the init file is read before evaluating the expression, matching interactive-mode behaviour. #14190