binary-typed: Type-safe binary serialization

[ bsd2, data, deprecated, library, serialization ] [ Propose Tags ]
Deprecated.

Binary serialization tagged with type information, allowing for typechecking and useful error messages at the receiving site.

This package serves the same purpose as tagged-binary, with a couple of key differences:

For information about usage, see the Data.Binary.Typed.Tutorial module.

Performance-wise, here is a value Right (Left <100 chars lipsum>) of type Either (Char, Int) (Either String (Maybe Integer)) benchmarked using the Hashed64 type representation:

(local copy)

Versions 0.1.0.0, 0.1.0.1, 0.2.0.0, 0.2.0.1, 0.2.1.0, 0.2.2, 0.2.3, 0.3, 1.0 (info)
Dependencies base (>=4.6 && <4.10), binary (>=0.7), bytestring (>=0.9), murmur-hash (>=0.1) [details]
License BSD-2-Clause
Copyright David Luposchainsky
Author David Luposchainsky
Maintainer dluposchainsky on googles email service
Revised Revision 1 made by HerbertValerioRiedel at Mon Jul 31 09:34:37 UTC 2017
Category Data, Serialization
Home page https://github.com/quchen/binary-typed
Bug tracker https://github.com/quchen/binary-typed/issues
Source repo head: git clone https://github.com/quchen/binary-typed
Uploaded by quchen at Fri Jul 25 18:17:16 UTC 2014
Distributions NixOS:1.0
Downloads 4201 total (11 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees