Core covers the OCaml compiler and language RFCs.
Core repository summaries
2 active · 0 unchanged
ocaml/RFCs
PermalinkFeatures
-
OCaml RFC 54 (transparent ascription): Open proposal by clementblaudeau, updated 2025-07-05. Proposes transparent ascription in the signature language and restricts static aliasing (
==) to persistent, toplevel-accessible modules. Link -
OCaml RFC 44 (primitive aliases): Open proposal by nmatschke, updated 2025-07-04. Proposes syntax to re-bind an external primitive under a new identifier without repeating its full type, attributes, and symbol list. Link
ocaml/ocaml
PermalinkFeatures
- OCaml stdlib: adds
Set.S.is_singletonandMap.S.is_singletonto test whether a set or map holds exactly one element. Merged. #14118 - OCaml stdlib: proposes
String.take,String.drop,String.spanand theirr*reverse variants for splitting strings by magnitude. Open. #14125 - OCaml tooling: proposes generating UIDs for functor parameters and first-class module unpackings so Merlin can resolve occurrences and renames for those items. Open. #14120
Performance
- OCaml stdlib: proposes replacing
Set.cardinal s = 0checks withSet.is_empty sin internal Set/Map access paths. Open. #14119
Fixes
- OCaml stdlib:
List.takeandList.dropno longer raiseInvalid_argumenton negative arguments; they return[]instead. Merged for 5.4. #14124 - OCaml compiler: fixes a spurious "Destructive substitutions are not supported for constrained types" error on non-destructive
with typeconstraints. Merged. #14117 - OCaml compiler: fixes ignored module and type constraints during signature approximation of recursive modules, which produced incorrect approximated signatures. Merged. #14100
Compatibility and Releases
- OCaml language: opens a discussion on whether the evaluation order of fields in
{ t with b = ... }record updates should change to avoid surprising interactions with mutable fields. Open. #14129