Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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
- module Flat.AsSize
- module Flat.AsBin
- type Decoded a = Either DecodeException a
- data DecodeException
- = NotEnoughSpace Env
- | TooMuchSpace Env
- | BadEncoding Env String
- | BadOp String
Documentation
module Flat.Class
module Flat.Filler
module Flat.Run
module Flat.Instances
module Flat.AsSize
module Flat.AsBin
type Decoded a = Either DecodeException a Source #
A decoded value
data DecodeException Source #
An exception during decoding
NotEnoughSpace Env | |
TooMuchSpace Env | |
BadEncoding Env String | |
BadOp String |
Instances
Exception DecodeException Source # | |
Defined in Flat.Decoder.Types | |
Show DecodeException Source # | |
Defined in Flat.Decoder.Types | |
Eq DecodeException Source # | |
Defined in Flat.Decoder.Types (==) :: DecodeException -> DecodeException -> Bool Source # (/=) :: DecodeException -> DecodeException -> Bool Source # | |
Ord DecodeException Source # | |
Defined in Flat.Decoder.Types compare :: DecodeException -> DecodeException -> Ordering Source # (<) :: DecodeException -> DecodeException -> Bool Source # (<=) :: DecodeException -> DecodeException -> Bool Source # (>) :: DecodeException -> DecodeException -> Bool Source # (>=) :: DecodeException -> DecodeException -> Bool Source # max :: DecodeException -> DecodeException -> DecodeException Source # min :: DecodeException -> DecodeException -> DecodeException Source # |