Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W51.2025 · 15–21 DecCore

Features

  • OCaml RFC #57: Proposes dot-notation access for labeled tuple fields; syntax choice between e.l and e.~l remains unresolved. #57
  • OCaml trunk (proposal): PR #14427 introduces polymorphic annotations in expression position, e.g. (fun x -> x : 'a. 'a -> 'a).
  • OCaml 5.5 (proposal): PR #14381 adds String.find_first_index, String.find_last_index, String.find_first, String.find_last, and String.[r]find_all.

Compatibility

  • OCaml Windows ports: PR #13416 (merged) removes the winpthreads dependency, implementing caml_plat_* primitives on WinAPI SRW locks for MSVC and MinGW-w64.
  • OCaml libunix: PR #13700 (merged) switches to POSIX-2008 thread-safe functions (getgrnam_r, getpwnam_r, gmtime_r, localtime_r, getlogin_r) and corrects mktime error checking.
  • OCaml build system: PR #14424 (merged) generates C dependency information via GCC/Clang -MMD during compilation, eliminating separate pre-compilation dependency scans.

Fixes

  • OCaml 5.4.0: PR #14417 (merged) rewrites pack prefixes to use the platform separator, fixing -for-pack failures on macOS and Windows.
  • OCaml 5.x runtime: Issue #14419 reports repeated Marshal.from_string in a tight loop triggers Out_of_memory without invoking the major GC; a patch is under discussion.
  • OCaml Windows 32-bit: PR #14423 (merged) fixes SetThreadDescription detection in configure.ac for i686 where __stdcall broke the link test.