Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W07.2026 · 9–15 FebCore

Features

  • OCaml GC: merged an Idle phase for the major GC, reducing CPU usage when the heap is nearly empty. Cherry-picked to the 5.5 branch. (#14365)
  • OCaml stdlib: merged String.drop_prefix and String.drop_suffix, returning Some t when the string starts or ends with the given prefix or suffix. (#14487)
  • OCaml stdlib: open proposal for an Atomic.Array module providing get, set, exchange, compare_and_set, and fetch_and_add on unboxed atomic arrays. (#14380)
  • OCaml RFC #59: open proposal for val declarations in structures, enabling type annotations in .ml files without a separate .mli. Shadowing semantics remain under discussion. (PR)

Fixes

  • OCaml compiler: merged a change printing GADT equations as hints when error messages reference variables introduced by those equations. (#14142)
  • OCaml compiler: merged a fix so inclusion-check errors reference the original source file rather than a ppx intermediate. (#14205)
  • OCaml toplevel: merged a fix for Load_path.remove_dir destroying auto_include_callback, which caused open Str to fail after a prior #remove_directory. (#14551)
  • OCaml bytecode: open fix for the PUSHENVACC4 opcode never being emitted due to an off-by-one in the peephole pass. (#14534)
  • OCaml s390x: open fix replacing PLT calls with GOT-indirect calls to prevent the dynamic linker trampoline from corrupting the OCaml fiber stack. (#14547)