Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W14.2025 · 31 Mar – 6 AprCore

Features

OCaml stdlib (trunk): List.singleton and Seq.singleton added, returning a single-element list or sequence. Merged 2025-04-05. #13932

OCaml stdlib (trunk): Result.get_ok' and Result.error_to_failure added for converting string-error results to exceptions. Merged 2025-04-04. #13720

OCaml stdlib (trunk): Result.product and Result.Syntax (binding operators) added. Merged 2025-03-31. #13696

OCaml stdlib (trunk): Option.for_all and Option.exists proposed, mirroring List.for_all/List.exists for zero-or-one elements. Open. #13920

OCaml RFC #52: proposes [%call_pos] for implicit call-site source positions in function signatures. Design discussion ongoing. PR

OCaml compiler (trunk): Proposal to optimize lazy for structured constants (tuples, records, variants), eliminating Forward blocks at compile time. Open. #13919

Fixes

OCaml runtime (trunk): caml_update_dummy_lazy proposed to fix a segfault when GC shortcuts a Forward block in recursive lazy definitions. Open. #13933, #13930

OCaml Windows (trunk): O_CLOEXEC preserved when converting Unix.file_descr to a CRT file descriptor, fixing sporadic cloexec test failures. Open. #13921

Compatibility

OCaml build system: ocamlmklib passes -ldopt arguments unescaped to Sys.command, breaking paths containing spaces. Fix proposed. Open. #13917, #13926