Copyright | (c) Jon Schoning 2015 |
---|---|
Maintainer | jonschoning@gmail.com |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- paramsToByteString :: (Monoid m, IsString m) => [(m, m)] -> m
- toText :: Show a => a -> Text
- toTextLower :: Show a => a -> Text
- (</>) :: (Monoid m, IsString m) => m -> m -> m
- paramToName :: Param -> Text
- paramToText :: Param -> (Text, Text)
- encodeParams :: [Param] -> ParamsBS
- ensureResultFormatType :: ResultFormatType -> PinboardRequest -> PinboardRequest
Documentation
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 #
paramToName :: Param -> Text Source #
encodeParams :: [Param] -> ParamsBS Source #
Retrieve and encode the optional parameters