Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W27.2025 · 30 Jun – 6 JulCore

Features

  • 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 RFC 54: open proposal for transparent ascription in the signature language; restricts static aliasing (==) to persistent, toplevel-accessible modules. Link
  • OCaml RFC 44: open proposal for syntax to re-bind an external primitive under a new identifier without repeating its full type, attributes, and symbol list. Link
  • OCaml stdlib: proposes String.take, String.drop, String.span and 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. Open. #14120

Fixes

  • OCaml stdlib: List.take and List.drop return [] on negative arguments instead of raising Invalid_argument. 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. Merged. #14100

Compatibility

  • OCaml language: open discussion on whether evaluation order of fields in { t with b = ... } record updates should change to avoid interactions with mutable fields. #14129