| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Flat
Description
Haskell implementation of Flat, a principled, portable and efficient binary data format.
Synopsis
- module Flat.Class
- module Flat.Filler
- module Flat.Run
- module Flat.Instances
- type Decoded a = Either DecodeException a
- data DecodeException
- = NotEnoughSpace Env
- | TooMuchSpace Env
- | BadEncoding Env String
Documentation
module Flat.Class
module Flat.Filler
module Flat.Run
module Flat.Instances
type Decoded a = Either DecodeException a Source #
A decoded value
data DecodeException Source #
An exception during decoding
Constructors
| NotEnoughSpace Env | |
| TooMuchSpace Env | |
| BadEncoding Env String |
Instances
| Eq DecodeException Source # | |
Defined in Flat.Decoder.Types Methods (==) :: DecodeException -> DecodeException -> Bool # (/=) :: DecodeException -> DecodeException -> Bool # | |
| Ord DecodeException Source # | |
Defined in Flat.Decoder.Types Methods compare :: DecodeException -> DecodeException -> Ordering # (<) :: DecodeException -> DecodeException -> Bool # (<=) :: DecodeException -> DecodeException -> Bool # (>) :: DecodeException -> DecodeException -> Bool # (>=) :: DecodeException -> DecodeException -> Bool # max :: DecodeException -> DecodeException -> DecodeException # min :: DecodeException -> DecodeException -> DecodeException # | |
| Show DecodeException Source # | |
Defined in Flat.Decoder.Types Methods showsPrec :: Int -> DecodeException -> ShowS # show :: DecodeException -> String # showList :: [DecodeException] -> ShowS # | |
| Exception DecodeException Source # | |
Defined in Flat.Decoder.Types Methods toException :: DecodeException -> SomeException # | |