package ppx_variants_conv
Generation of accessor and iteration functions for ocaml variant types
Install
Dune Dependency
Authors
Maintainers
Sources
ppx_variants_conv-v0.9.0.tar.gz
sha256=6e6e78b5cd57697850dde5b4b63165197589d6c73c886e7ea8248e7dcf4071eb
md5=30f5c2fbc107023c4edc77607afdc7fc
CHANGES.md.html
113.43.00
Implemented
Variants.to_rank
.Somewhat surprisingly, the preprocessor didn't reject variant inclusion despite what the documentation says, but instead would consider that they use one rank (??). Also the generated signature didn't match the generated code in that case. Removed completely the support for polymorphic variant inclusion.
113.24.00
The
iter
function generated by ppx_variants_conv and ppx_fields_conv allowed one to give function which returned values of arbitrary types as iter function. This feature constraint these functions to return unit.N.B. the signature generated by the use of
@@deriving variants
(resp. fields) in interface already constrained the type to unit.Update to follow
Type_conv
evolution.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>