belka-0.8: HTTP client DSL

Safe HaskellNone
LanguageHaskell2010

Belka.Interact

Documentation

newtype Interact a Source #

Instances

Monad Interact Source # 

Methods

(>>=) :: Interact a -> (a -> Interact b) -> Interact b #

(>>) :: Interact a -> Interact b -> Interact b #

return :: a -> Interact a #

fail :: String -> Interact a #

Functor Interact Source # 

Methods

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

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

Applicative Interact Source # 

Methods

pure :: a -> Interact a #

(<*>) :: Interact (a -> b) -> Interact a -> Interact b #

liftA2 :: (a -> b -> c) -> Interact a -> Interact b -> Interact c #

(*>) :: Interact a -> Interact b -> Interact b #

(<*) :: Interact a -> Interact b -> Interact a #

MonadIO Interact Source # 

Methods

liftIO :: IO a -> Interact a #

request :: Request -> ParseHead (ParseBody response) -> Interact response Source #