Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W37.2025 · 8–14 Sep

Core repository summaries

2 active · 0 unchanged

Back to weekly digest

ocaml/RFCs

Permalink

Features

  • OCaml RFC for...in (PR #56): Open proposal by giltho for a for...in loop construct, described as syntactic sugar over existing iterator calls such as List.iter. Still in discussion; no merged or released change. #56

ocaml/ocaml

Permalink

Features

  • OCaml trunk (typing recovery): Open PR upstreams Merlin's typing recovery into the typechecker via a -typing-recovery flag, 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 pattern type a = private A recommended 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*alloc macros in memory.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 fixes ocaml -init FILE -e "expr" so the init file is read before evaluating the expression, matching interactive-mode behaviour. #14190