Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W20.2025 · 12–18 May

Core repository summaries

2 active · 0 unchanged

Back to weekly digest

ocaml/RFCs

Permalink

ocaml/RFCs: The evidence is insufficient to identify specific activity within the reporting interval. PR #54 "Transparent ascription" (clementblaudeau) was opened 2025-04-11 and remained open; its updated_at (2025-07-05) and all attached comments are undated or post-date the window, so no merge, closure, or comment can be attributed to 2025-05-12 through 2025-05-19.

ocaml/ocaml

Permalink

Features

OCaml generational stack scanning: Merged 2025-05-18. Minor GC now stops scanning when it reaches a stack frame unchanged since the previous collection. Supported on ARM64/Linux, POWER, and RISC-V via top-bits-ignore; ARM64/macOS uses a software mask at ~0.5% overhead. #13594

OCaml Sys.runtime_executable: Merged 2025-05-15. New function returns the path of the executing runtime binary (e.g. ocamlrun), distinct from Sys.executable_name which reports the bytecode image. #13728

OCaml let structure-item in expressions: Open proposal (2025-05-16). Extends the parser to accept arbitrary structure items (let type, let class, let module type, let external, etc.) inside let … in expressions, excluding let bindings and include. #14040

Fixes

OCaml local structure-item attributes: Merged 2025-05-16. Breaking change: extension points and attributes on let module, let exception, and let open now attach to the structure item rather than the enclosing let expression. To target the let itself, place them after the let keyword. #14009

OCaml Dynlink on Windows: Merged 2025-05-14. Updates FlexDLL to 0.44, which adds a global lock around the loaded-units list. Re-enables the lib-dynlink-domains test that was disabled since 5.2 due to segfaults under concurrent Dynlink.loadfile. #14032

OCaml ocamltest environment variables: Merged 2025-05-14. Fixes a bug where set on a variable in one parallel test block leaked into sibling blocks, causing "Variable already in the environment" errors. User variables are no longer registered globally. #13961

OCaml Format break-hint placement: Merged 2025-05-16. Corrects misattribution of horizontal content length to the preceding break hint, so b/hov boxes now fit content on the line as specified. #13853

OCaml -short-paths non-termination: Reported 2025-05-15. ocamlopt -short-paths loops indefinitely on recursive modules with cyclic type abbreviations (e.g. module rec X : sig type t = X.t end). A localized cycle-detection fix is proposed but not yet merged. #14036, #14037