binary-strict-0.4.8.5: Binary deserialisation using strict ByteStrings

Safe HaskellSafe
LanguageHaskell2010

Data.Binary.Strict.Class

Description

This module contains a single class which abstracts over Get and IncrementalGet, so that one can write parsers which work in both. If you are using this module, you may find that -fno-monomorphism-restriction is very useful.

Synopsis

Documentation

class (Monad m, Alternative m) => BinaryParser m where Source #

This is the generic class for the set of binary parsers. This lets you write parser functions which are agnostic about the pattern of parsing in which they get used (incremental, strict, bitwise etc)

Instances
BinaryParser Get Source # 
Instance details

Defined in Data.Binary.Strict.Get

BinaryParser (Get r) Source # 
Instance details

Defined in Data.Binary.Strict.IncrementalGet