serdoc-binary: `binary` backend for `serdoc`

[ apache, data, library ] [ Propose Tags ]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS]
Change log
Dependencies base (>= && <5), binary (>= && <0.11), bytestring (>=0.11 && <0.13), serdoc-core (>= && <0.2) [details]
License Apache-2.0
Copyright 2023 IO Global
Author Tobias Dammers
Category Data
Uploaded by TobiasDammers at 2024-02-06T08:42:48Z
Downloads 37 total (3 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-02-06 [all 1 reports]

Readme for serdoc-binary-

[back to package description]


Unified serialization with semi-automatic documentation


SerDoc provides:

  • A unified interface for serialization formats ("codecs"), in the form of a 'Serializable' typeclass.
  • A mini-EDSL (FieldInfo) for describing serialization formats as first-class data structures, and a typeclass (HasInfo) to link them to codecs and serializable Haskell types.
  • Building blocks and utility code for implementing Codec, Serializable, and HasInfo for existing or new serialization formats.

It also includes an implementation of these typeclasses for the binary package.


SerDoc is split up into two sub-projects:

  • serdoc-core, which provides the typeclasses and building blocks
  • serdoc-binary (this library), which provides instances for binary