Features
-
OxCaml sort levels: merged; adds levels to sort variables, enabling polymorphic sort variables for layout polymorphism. Level-handling logic is split into a new
Levelsmodule within Typing. #4785 -
OxCaml F16C/FMA SIMD: merged; adds
float16x8,float16x16, andfloat16x32vector types with F16C and FMA intrinsics. All FMA intrinsics map to the 213 instruction form. #4964 -
OxCaml exception modes: merged; extends exceptions to cross statefulness and visibility axes, in addition to portability and contention. Permits throwing exceptions from stateless functions. #4891
-
OxCaml mixed modules: open; lifts the value-only restriction on module fields, enabling unboxed data in modules. New
Types.module_representationandLambda.module_representationtypes track mixed layout through typing and codegen. #4020 -
OxCaml sharable mode: open; adds a
sharablemode to the portability axis; sharable closures capture shared values. The statefulness axis now implies sharable, analogous to observing. #4982 -
OxCaml implicit kinds: open; introduces
[@@implicit_kind]attribute syntax for implicit jkinds on type variables. Currently works in signatures under-extension implicit-types. #4285
Fixes
-
Merlin (oxcaml) short-paths: stops forcing substitutions during short-paths graph construction. Eliminates a performance bug where
ocamlmerlintook over twice the compiler's type-check time on large modules. #193 -
Merlin (oxcaml) menhir: adds
--lalrto menhir parser invocations, matching the flag the compiler already passes. Improves parser generation speed. #194 -
Merlin (oxcaml) lazy indexing: backports upstream lazy indexing changes (ocaml/merlin#1990, #1991) to defer index construction. #195
-
OxCaml parameterized libraries: merged; disallows aliases to functor parameters. Fixes a segfault from incorrect member projection through coerced signatures. #4948
-
OxCaml quotation moregen: merged; completes inclusion checking for quotes and splices. Fixes unsound unification from stage normalisation during generalisation. #4974