OCaml stdlib: adds Set.S.is_singleton and Map.S.is_singleton to test whether a set or map holds exactly one element. Merged. #14118
OCaml stdlib: proposes String.take, String.drop, String.span and their r* 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 = 0 checks with Set.is_empty s in internal Set/Map access paths. Open. #14119
Fixes
OCaml stdlib:List.take and List.drop no longer raise Invalid_argument on 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 type constraints. 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