package repr
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Dynamic type representations. Provides no stability guarantee
Install
dune-project
Dependency
Authors
Maintainers
Sources
repr-0.7.0.tbz
sha256=8adac9fe85bf8a0e20eeb6810d7216e98e1b7f4d9bd399e61bb1024ace2501ac
sha512=5b104c52a05a3ed7a4505dea3b3b7ee16bba020b5d2d8e4dfd680ff8f82ae021caf0f29207616ac2ae40dfd5bb641a144e31b11d29c5ba4918ba616a57f74647
doc/CHANGES.html
0.7.0 (2023-08-02)
- Add quadruples as another type combinator (#104, @patricoferris)
- Expose the underlying
Jsonm.decoderfor custom JSON serialisation in functions likeRepr.like. (#103, @patricoferris)
0.6.0 (2022-01-04)
- Change the type of
Repr.decode_binto take a mutable buffer offset rather than threading an immutable position. (#81, @CraigFe) - Expose a
Repr.Binarymodule providing direct access to functions for interacting with Repr's binary serialisation format. (#88, @CraigFe)
0.5.0 (2021-10-12)
- Add
Repr.int63, a representation of theOptint.Int63.ttype (provided by theoptintlibrary). (#80, @CraigFe) - Change
Repr.{like,map,partially_abstract}functions to not require_ stagedwrappers around any (monomorphic) overrides. (#77, @CraigFe) - Fix a bug causing custom
Repr.{random,random_state}implementations to be ignored. (#79, @CraigFe) - Fix
Repr.pre_hashto rely on itself recursively. This ensures that custompre_hashfunctions attached to components of larger types are not ignored. (#71, @CraigFe)
0.4.0 (2021-06-16)
- Add
Repr.{random,random_state}, a pair of generic functions for sampling random instances of representable types. (#58, @CraigFe) - Add
Repr.Size, which provides sizing functions for binary codecs that are more informative than the existingRepr.size_of. Types built usingRepr.vandRepr.likemust now pass a sizer built usingRepr.Size.custom_*. (#69, @CraigFe)
0.3.0 (2021-04-30)
Repr.vis 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.tandMap.t. (#43, @CraigFe) - Improve PPX
Repr.tgeneration for types in the standard library. References to e.g.Bool.torStdlib.Int32.twill 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.
-nanstrings 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.ttype. (#33, @CraigFe)
0.2.0 (2020-12-18)
- Improve performance of variable-size integers encoding and decoding. (#24, #30, @samoht)
- Require
short_hashoperations to be explicitly unstaged. (#15, @CraigFe) - Require
equalandcompareoperations to be explicitly unstaged. (#16, @samoht)
0.1.0 (2020-10-16)
Initial release.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page