| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Web.Twitter.Conduit.Request.Internal
Contents
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 #
Constructors
| PVInteger | |
Fields | |
| PVBool | |
| PVString | |
Fields
| |
| PVIntegerArray | |
Fields
| |
| PVStringArray | |
Fields
| |
| PVDay | |
class Parameters req where Source #
Associated Types
type SupportParameters req :: [Param Symbol *] Source #
Instances
| Parameters (APIRequest supports responseType) Source # | |
Defined in Web.Twitter.Conduit.Request Associated Types type SupportParameters (APIRequest supports responseType) :: [Param Symbol Type] Source # | |
class ParameterValue a where Source #
paramValueBS :: PV -> ByteString Source #
Arguments
| :: (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 # | |