Copyright | (c) Jon Schoning, 2015 |
---|---|
Maintainer | jonschoning@gmail.com |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
- type PinboardT m a = ReaderT (PinboardConfig, Manager) (ExceptT PinboardError m) a
- type MonadPinboard m = (MonadIO m, MonadReader (PinboardConfig, Manager) m, MonadError PinboardError m)
- data PinboardRequest = PinboardRequest {
- requestPath :: Text
- requestParams :: [Param]
- data PinboardConfig = PinboardConfig {
- apiToken :: ByteString
- debug :: Bool
- data ResultFormatType
- data Param
- type ParamsBS = [(ByteString, ByteString)]
Documentation
type PinboardT m a = ReaderT (PinboardConfig, Manager) (ExceptT PinboardError m) a Source
type MonadPinboard m = (MonadIO m, MonadReader (PinboardConfig, Manager) m, MonadError PinboardError m) Source
Typeclass alias for the return type of the API functions (keeps the signatures less verbose)
data PinboardRequest Source
PinboardRequest | |
|
data PinboardConfig Source
data ResultFormatType Source
type ParamsBS = [(ByteString, ByteString)] Source