Skip to content

0.3.0

Compare
Choose a tag to compare
@samoht samoht released this 30 Apr 09:16
· 92 commits to main since this release
d410d61

CHANGES:

  • Repr.v is now called Repr.abstract. (#52, @craigfe)

  • Added Repr.partially_abstract, a helper combinator for constructing type
    representations with overridden operations. (#52, @craigfe)

  • Add combinators for standard library container types: ref, Lazy.t,
    Seq.t, Queue.t, Stack.t, Hashtbl.t, Set.t and Map.t.
    (#43, @craigfe)

  • Improve PPX Repr.t generation for types in the standard library. References
    to e.g. Bool.t or Stdlib.Int32.t will be resolved to the corresponding
    combinators. (#43, @craigfe)

  • Add support for deriving mutually-recursive pairs of type representations
    with ppx_repr. (#42, @craigfe)

  • Add a JSON object combinator: Json.assoc (#53, @Ngoguey42)

  • Drop the payload of NaN floating point values during JSON encoding. -nan
    strings are not emitted any more. (#55, @Ngoguey42)