package ppx_fields_conv
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Generation of accessor and iteration functions for ocaml records
Install
dune-project
Dependency
Authors
Maintainers
Sources
ppx_fields_conv-v0.16.0.tar.gz
sha256=b098fab38b5204114623a791e7034ff1316e676ba984ca70cadb4084dfc61898
doc/CHANGES.html
Release v0.16.0
- Added options to
[@@deriving fields]for selecting a subset of definitions. For example,[@@deriving fields ~getters ~setters]derives getter and setter functions only, and omits the entireFieldssubmodule.
Old pre-v0.15 changelogs (very likely stale and incomplete)
v0.11
- Depend on ppxlib instead of (now deprecated) ppx_core, ppx_driver, ppx_metaquot and ppx_type_conv.
113.33.00
- Fix errors in
ppx_fields_convdocumentation - Add unit tests for
ppx_fields_convfunctions - Fix some idiosyncracies where the implementations in
ppx_fields_conv.mldiffered (ex: a variable would be called one thing when implementing one function but would be called something different when implementing every other function).
113.24.00
The
iterfunction generated by ppx_variants_conv and ppx_fields_conv allowed one to give function which returned values of arbitrary types as iter function. This release 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's evolution.
- Add
Fields.make_creatorto ppx_fields_conv's readme, since it appears to not be all that deprecated.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page