servant-client-core-0.16: Core functionality and class for client function generation for servant APIs

Safe HaskellNone
LanguageHaskell2010

Servant.Client.Core.Response

Documentation

data ResponseF a Source #

Instances
Functor ResponseF Source # 
Instance details

Defined in Servant.Client.Core.Response

Methods

fmap :: (a -> b) -> ResponseF a -> ResponseF b #

(<$) :: a -> ResponseF b -> ResponseF a #

Foldable ResponseF Source # 
Instance details

Defined in Servant.Client.Core.Response

Methods

fold :: Monoid m => ResponseF m -> m #

foldMap :: Monoid m => (a -> m) -> ResponseF a -> m #

foldr :: (a -> b -> b) -> b -> ResponseF a -> b #

foldr' :: (a -> b -> b) -> b -> ResponseF a -> b #

foldl :: (b -> a -> b) -> b -> ResponseF a -> b #

foldl' :: (b -> a -> b) -> b -> ResponseF a -> b #

foldr1 :: (a -> a -> a) -> ResponseF a -> a #

foldl1 :: (a -> a -> a) -> ResponseF a -> a #

toList :: ResponseF a -> [a] #

null :: ResponseF a -> Bool #

length :: ResponseF a -> Int #

elem :: Eq a => a -> ResponseF a -> Bool #

maximum :: Ord a => ResponseF a -> a #

minimum :: Ord a => ResponseF a -> a #

sum :: Num a => ResponseF a -> a #

product :: Num a => ResponseF a -> a #

Traversable ResponseF Source # 
Instance details

Defined in Servant.Client.Core.Response

Methods

traverse :: Applicative f => (a -> f b) -> ResponseF a -> f (ResponseF b) #

sequenceA :: Applicative f => ResponseF (f a) -> f (ResponseF a) #

mapM :: Monad m => (a -> m b) -> ResponseF a -> m (ResponseF b) #

sequence :: Monad m => ResponseF (m a) -> m (ResponseF a) #

Eq a => Eq (ResponseF a) Source # 
Instance details

Defined in Servant.Client.Core.Response

Methods

(==) :: ResponseF a -> ResponseF a -> Bool #

(/=) :: ResponseF a -> ResponseF a -> Bool #

Show a => Show (ResponseF a) Source # 
Instance details

Defined in Servant.Client.Core.Response

Generic (ResponseF a) Source # 
Instance details

Defined in Servant.Client.Core.Response

Associated Types

type Rep (ResponseF a) :: Type -> Type #

Methods

from :: ResponseF a -> Rep (ResponseF a) x #

to :: Rep (ResponseF a) x -> ResponseF a #

NFData a => NFData (ResponseF a) Source # 
Instance details

Defined in Servant.Client.Core.Response

Methods

rnf :: ResponseF a -> () #

type Rep (ResponseF a) Source # 
Instance details

Defined in Servant.Client.Core.Response

type Rep (ResponseF a) = D1 (MetaData "ResponseF" "Servant.Client.Core.Response" "servant-client-core-0.16-Ipva4EGoQ7tI6gyFRZGBPb" False) (C1 (MetaCons "Response" PrefixI True) ((S1 (MetaSel (Just "responseStatusCode") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Status) :*: S1 (MetaSel (Just "responseHeaders") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Seq Header))) :*: (S1 (MetaSel (Just "responseHttpVersion") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 HttpVersion) :*: S1 (MetaSel (Just "responseBody") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 a))))