Copyright | (c) Jon Schoning, 2015 |
---|---|
Maintainer | jonschoning@gmail.com |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
- mkConfig :: PinboardConfig
- 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
paramToName :: Param -> Text Source
paramToText :: Param -> (Text, Text) Source
encodeParams :: [Param] -> ParamsBS Source
Retrieve and encode the optional parameters