package ppx_repr

  1. Overview
  2. Docs
type nonrec record_field_repr = {
  1. field_name : string;
  2. field_repr : Ppxlib.expression;
}
and variant_case_repr = {
  1. case_name : string;
  2. case_cons : (Ppxlib.expression * int) option;
}

The algebraic datatypes supported by this module, parameterised by:

  • 'a: the subcomponent type of the algebraic type
  • 'b: a generic representation of the subcomponent type necessary to derive the composite type representation
OCaml

Innovation. Community. Security.