Core covers the OCaml compiler and language RFCs.
Core repository summaries
2 active · 0 unchanged
ocaml/RFCs
PermalinkFeatures
-
OCaml RFC #59: proposes
valdeclarations as structure items, placing type annotations directly beforeletorlet recdefinitions. Opened by gasche; active discussion covers forward-declaration semantics and interaction withandbindings. (#59) -
OCaml RFC #57: maintainers reached consensus that numeric tuple projections require tuple polymorphism; labelled projections with known types are acceptable without it. The RFC remains open pending redesign. (#57)
-
OCaml RFC #37: updated with a proposal to generalize the
Array.Floatarraymodule signature to accept anyprivate floattype parameter, broadening its applicability. (#37) -
OCaml RFC #39: updated to note a companion PR for atomic arrays is under review, exposing bound-checked and unsafe access operations in a new
Atomic.Arraysubmodule. (#39)
Compatibility and Releases
- OCaml RFC #55: merged a transparency-based conflict-of-interest policy for the OCaml Language Committee, adding an affiliation field to member listings. (#55)
ocaml/ocaml
PermalinkFeatures
OCaml stdlib: String.{drop,take,cut}_{first,last}_while merged, adding predicate-based string splitting to the standard library. #14362
OCaml parser: PR proposes allowing arbitrary structure items (except let bindings and include) inside let expressions, extending the language grammar. #14040
OCaml language: Modular explicits (fun (M : S) -> …) enable dependent functions over module parameters, a long-requested alternative to functors. #13275
OCaml stdlib: Atomic.Array module proposed, providing atomic get/set/exchange/compare-and-set on array elements for low-level concurrent code. #14380
OCaml stdlib: Lazy.Concurrent_blocking proposed as a mutex-protected lazy thunk for safe concurrent initialization without blocking on user-level schedulers. #14393
Fixes
OCaml Dynlink: Dynlink.loadfile now calls dlclose when a .cmxs fails to load before initialisation code runs, allowing a corrected file to be reloaded in the same process. #14391
OCaml runtime: Memory corruption reported in Queue/ref-table overflow on x86_64 (5.3.0 and 5.4.0), producing spurious values and segfaults; reproduced on Linux and Windows. #14396
Compatibility and Releases
OCaml runtime: Relocatable OCaml ld.conf handling merged: lines with ./ or ../ are resolved relative to the file, and ld.conf is now loaded from all candidate locations rather than only OCAMLLIB. #14243