definitive-parser-1.2: A parser combinator library for the Definitive framework

Safe HaskellNone

Data.Serialize

Contents

Synopsis

You'll need this

Serialization

data Builder

Builders denote sequences of bytes. They are Monoids where mempty is the zero-length sequence and mappend is concatenation, which runs in O(1).

Convenience functions

word8 :: Word8 -> Builder

Encode a single unsigned byte as-is.

data Either3 a b c Source

Constructors

Alt3l'1 a 
Alt3l'2 b 
Alt3l'3 c