Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
System.Directory.Watchman.BSER
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 #
Constructors
BSERArray (Seq BSERValue) | |
BSERObject (Map ByteString BSERValue) | |
BSERString ByteString | |
BSERInt8 Int8 | |
BSERInt16 Int16 | |
BSERInt32 Int32 | |
BSERInt64 Int64 | |
BSERReal Double | |
BSERBool Bool | |
BSERNull |
Instances
Eq BSERValue Source # | |
Ord BSERValue Source # | |
Show BSERValue Source # | |
Binary BSERValue Source # | |
FromBSER BSERValue Source # | |
compactBSERInt :: Integral n => n -> BSERValue Source #
Chooses the smallest BSERInt* that the number will fit into