package ppx_repr
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=d9bd2fe51c2eb6fca27731034c46f9a77dc8bc9fb7b76216f8a571603d6e7d74
sha512=7b4ad2cbcd92f6647a1abe1d82557f02e4955c5f37f02089388c752e23b865af0f55fdd6bc63a1d2a00962baf96ccd99ccd9b8ecd8898dcc2a0cd17302f067c3
CHANGES.md.html
0.3.0 (2021-04-30)
Repr.v
is now calledRepr.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
andMap.t
. (#43, @CraigFe)Improve PPX
Repr.t
generation for types in the standard library. References to e.g.Bool.t
orStdlib.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)
0.2.1 (2021-01-18)
Support Ppxlib versions >= 0.18.0. (#35, @CraigFe)
Add missing dependency on
ppx_deriving
. (#36, @CraigFe)Add a representation of the
Either.t
type. (#33, @CraigFe)
0.2.0 (2020-12-18)
Improve performance of variable-size integers encoding and decoding. (#24, #30, @samoht)
Require
short_hash
operations to be explicitly unstaged. (#15, @CraigFe)Require
equal
andcompare
operations to be explicitly unstaged. (#16, @samoht)
0.1.0 (2020-10-16)
Initial release.