Copyright | (c) David Johnson 2014 |
---|---|
Maintainer | djohnson.m@gmail.com |
Stability | experimental |
Portability | POSIX |
Safe Haskell | Safe |
Language | Haskell2010 |
Synopsis
- fromSeconds :: Integer -> UTCTime
- toSeconds :: UTCTime -> Integer
- paramsToByteString :: (Monoid m, IsString m) => [(m, m)] -> m
- toText :: Show a => a -> Text
- toTextLower :: Show a => a -> Text
- getParams :: [(ByteString, Maybe Text)] -> [(ByteString, ByteString)]
- toBytestring :: Show a => a -> ByteString
- (</>) :: (Monoid m, IsString m) => m -> m -> m
- toMetaData :: [(Text, Text)] -> [(ByteString, ByteString)]
- toExpandable :: [Text] -> [(ByteString, ByteString)]
Utils
paramsToByteString :: (Monoid m, IsString m) => [(m, m)] -> m Source #
Conversion of a key value pair to a query parameterized string
toTextLower :: Show a => a -> Text Source #
getParams :: [(ByteString, Maybe Text)] -> [(ByteString, ByteString)] Source #
Retrieve and encode the optional parameters
toBytestring :: Show a => a -> ByteString Source #
Convert APITVersion to a ByteString
toMetaData :: [(Text, Text)] -> [(ByteString, ByteString)] Source #
To MetaData
toExpandable :: [Text] -> [(ByteString, ByteString)] Source #
To Expandable