Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- type BSERObject = Map ByteString BSERValue
- data BSERValue
- compactBSERInt :: Integral n => n -> BSERValue
- readBSERInt :: BSERValue -> Either String Int
- readBSERInt64 :: BSERValue -> Either String Int64
Documentation
type BSERObject = Map ByteString BSERValue Source #
BSERArray (Seq BSERValue) | |
BSERObject (Map ByteString BSERValue) | |
BSERString ByteString | |
BSERInt8 Int8 | |
BSERInt16 Int16 | |
BSERInt32 Int32 | |
BSERInt64 Int64 | |
BSERReal Double | |
BSERBool Bool | |
BSERNull |
compactBSERInt :: Integral n => n -> BSERValue Source #
Chooses the smallest BSERInt* that the number will fit into