Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type Livy = LivyT Env (ResourceT IO)
- newtype LivyT r m a = LivyT {}
- type LivyConstraint r m a = (HasEnv r, MonadIO m, MonadThrow m, MonadCatch m, MonadReader r m, LivyRequest a, FromJSON (LivyResponse a))
- runLivy :: HasEnv r => r -> Livy a -> IO a
- runLivyT :: HasEnv r => r -> LivyT r m a -> m a
Running Livy actions
LivyT
transformer.
Instances
Monad m => MonadReader r (LivyT r m) Source # | |
MonadTrans (LivyT r) Source # | |
Defined in Network.Livy.Monad | |
Monad m => Monad (LivyT r m) Source # | |
Functor m => Functor (LivyT r m) Source # | |
Applicative m => Applicative (LivyT r m) Source # | |
MonadIO m => MonadIO (LivyT r m) Source # | |
Defined in Network.Livy.Monad | |
MonadThrow m => MonadThrow (LivyT r m) Source # | |
Defined in Network.Livy.Monad | |
MonadCatch m => MonadCatch (LivyT r m) Source # | |
MonadResource m => MonadResource (LivyT r m) Source # | |
Defined in Network.Livy.Monad liftResourceT :: ResourceT IO a -> LivyT r m a # |
type LivyConstraint r m a = (HasEnv r, MonadIO m, MonadThrow m, MonadCatch m, MonadReader r m, LivyRequest a, FromJSON (LivyResponse a)) Source #
An alias for the constraints required to send a request to Livy.