Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type EmptyParams = ('[] :: [Param Symbol *]) Source #
type HasParam (label :: Symbol) (paramType :: *) (params :: [Param Symbol *]) = ParamType label params ~ paramType Source #
type APIQuery = [APIQueryItem] Source #
type APIQueryItem = (ByteString, PV) Source #
class Parameters req where Source #
type SupportParameters req :: [Param Symbol *] Source #
Instances
Parameters (APIRequest supports responseType) Source # | |
Defined in Web.Twitter.Conduit.Request type SupportParameters (APIRequest supports responseType) :: [Param Symbol Type] Source # |
class ParameterValue a where Source #
paramValueBS :: PV -> ByteString Source #
:: (Parameters p, ParameterValue a) | |
=> ByteString | key |
-> Lens' p (Maybe a) |
Orphan instances
(Parameters req, ParameterValue a, KnownSymbol label, HasParam label a (SupportParameters req), Functor f, lens ~ ((Maybe a -> f (Maybe a)) -> req -> f req)) => IsLabel label lens Source # | |