| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.PackStream.Serializer
Synopsis
- null :: ByteString
- bool :: Bool -> ByteString
- integer :: Int -> ByteString
- float :: Double -> ByteString
- bytes :: ByteString -> ByteString
- string :: Text -> ByteString
- list :: [Value] -> ByteString
- dict :: Map Text Value -> ByteString
- structure :: Structure -> ByteString
- value :: Value -> ByteString
Documentation
null :: ByteString Source #
Represent () as PackStream ByteString
bool :: Bool -> ByteString Source #
Represent Bool as PackStream ByteString
integer :: Int -> ByteString Source #
Represent Int as PackStream ByteString
float :: Double -> ByteString Source #
Represent Double as PackStream ByteString
bytes :: ByteString -> ByteString Source #
Represent ByteString as PackStream ByteString
string :: Text -> ByteString Source #
Represent Text as PackStream ByteString
list :: [Value] -> ByteString Source #
Represent '[Value]' as PackStream ByteString
dict :: Map Text Value -> ByteString Source #
Represent 'Map Text Value' as PackStream ByteString
structure :: Structure -> ByteString Source #
Represent Structure as PackStream ByteString
value :: Value -> ByteString Source #
Represent Value as PackStream ByteString