binary-strict-0.4.8.3: Binary deserialisation using strict ByteStrings

Safe HaskellSafe
LanguageHaskell98

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)