Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- module Data.Flat.Class
- module Data.Flat.Filler
- module Data.Flat.Instances
- module Data.Flat.Run
- newtype UTF8Text = UTF8Text Text
- newtype UTF16Text = UTF16Text Text
- data Get a
- type Decoded a = Either DecodeException a
- data DecodeException
Documentation
Check the tutorial and github repo.
module Data.Flat.Class
module Data.Flat.Filler
module Data.Flat.Instances
module Data.Flat.Run
A wrapper to encode/decode Text as UTF8 (slower but more compact)
A wrapper to encode/decode Text as UTF16 (faster but bigger)
Decoder monad
type Decoded a = Either DecodeException a Source #
A decoded value
data DecodeException Source #
An exception during decoding
Instances
Eq DecodeException Source # | |
Defined in Data.Flat.Decoder.Types (==) :: DecodeException -> DecodeException -> Bool # (/=) :: DecodeException -> DecodeException -> Bool # | |
Ord DecodeException Source # | |
Defined in Data.Flat.Decoder.Types 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 Data.Flat.Decoder.Types showsPrec :: Int -> DecodeException -> ShowS # show :: DecodeException -> String # showList :: [DecodeException] -> ShowS # | |
Exception DecodeException Source # | |
Defined in Data.Flat.Decoder.Types |