Features
-
Addressable kinds (opened): New
addressablekind operator distinguishes kinds whose boxed form is a block (pointer-takeable) from tagged immediates. Enables future pointer-to-box language features. #6712 -
Dox (opened): Live literate programming environment where a Markdown page is also an OxCaml module; code evaluates in-browser with diagnostics and execution data attached to source. #6697
-
Layout polymorphism over
any-field records/variants (opened, stacked on #6496): Compilespoly_bindings overany-field shapes via a transientSplicecase inmixed_block_element, instantiated at translation. #6687 -
First-class modalities (draft): Gives
t @@ msurface syntax as a writable type with automatic introduction/elimination rules; eliminates hand-rolledStdlib.Modeswrappers. #6678 -
Atomic block indices (opened): Introduces
idx_atomic, a predef type for indices to[@atomic]record fields, withIdx_atomic.get/setin Stdlib_stable. #6667
Fixes
-
Partial GADT match calling-convention soundness (merged): Parameters that partially match a GADT constructor no longer narrow the sorts of later parameters or the return, preventing segfaults from mismatched calling conventions. #6689
-
Polymorphic record field atomics (merged):
[%atomic.loc]and mutable block indices to polymorphic record fields are now rejected, closing a soundness hole that permittedObj.magic-equivalent type confusion. #6688