The tagged-binary package

[Tags: binary, cloud, library, mit, serialization]

Very minimal library providing tools for serializing and decoding data into ByteString tagged with information about its type, inspired by Cloud Haskell and distributed-process.

Intended for use by libraries and frameworks in distributed contexts, such as distributed computation between native servers and communication between native servers and ghcjs/various front-ends, for behavior similar to the polymorphic communication channels of Cloud Haskell and distributed-process; servers can send tagged data, and clients can choose to selectively accept, ignore or queue incoming messages depending on their types.

For basic encoding, decoding and categorization, only Data.Binary.Tagged should be necessary. Data.Binary.Tagged.Internal is exported in case you need it.

Quick example:

 > let x = encodeTagged (1 :: Int)
 > decodeTagged x :: Maybe Bool
 > decodeTagged x :: Maybe Int
 Just 1


Dependenciesbase (>=4.6 && <5), binary (>=0.7.1), bytestring (>=0.10.4), pureMD5 (>=2.1)
CopyrightCopyright (c) Justin Le 2014
AuthorJustin Le <>
MaintainerJustin Le <>
CategoryData, Serialization
Source repositoryhead: git clone
UploadedTue May 12 04:52:18 UTC 2015 by jle
DistributionsNixOS:, Stackage:
Downloads351 total (30 in last 30 days)
StatusDocs available [build log]
Last success reported on 2015-05-12 [all 1 reports]




Maintainers' corner

For package maintainers and hackage trustees