graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hasura.HTTP

Documentation

newtype ShowErrorInfo Source #

Constructors

ShowErrorInfo 

Instances

Instances details
Show ShowErrorInfo Source # 
Instance details

Defined in Hasura.HTTP

Eq ShowErrorInfo Source # 
Instance details

Defined in Hasura.HTTP

data HttpResponse a Source #

Constructors

HttpResponse 

Instances

Instances details
Foldable HttpResponse Source # 
Instance details

Defined in Hasura.HTTP

Methods

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

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

foldMap' :: Monoid m => (a -> m) -> HttpResponse a -> m #

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

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

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

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

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

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

toList :: HttpResponse a -> [a] #

null :: HttpResponse a -> Bool #

length :: HttpResponse a -> Int #

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

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

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

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

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

Traversable HttpResponse Source # 
Instance details

Defined in Hasura.HTTP

Methods

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

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

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

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

Functor HttpResponse Source # 
Instance details

Defined in Hasura.HTTP

Methods

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

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