package ppx_fields_conv

  1. Overview
  2. Docs
Generation of accessor and iteration functions for ocaml records

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_fields_conv-v0.16.0.tar.gz
sha256=b098fab38b5204114623a791e7034ff1316e676ba984ca70cadb4084dfc61898

CHANGES.md.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 entire Fields submodule.

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_conv documentation

  • Add unit tests for ppx_fields_conv functions

  • Fix some idiosyncracies where the implementations in ppx_fields_conv.ml differed (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 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 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_creator to ppx_fields_conv's readme, since it appears to not be all that deprecated.

OCaml

Innovation. Community. Security.