shell-conduit-4.7.0: Write shell scripts with Conduit

Safe HaskellNone
LanguageHaskell98

Data.Conduit.Shell.Types

Description

All types.

Synopsis

Documentation

newtype ShellT m a Source #

Shell transformer.

Constructors

ShellT 

Fields

Instances

MonadTrans ShellT Source # 

Methods

lift :: Monad m => m a -> ShellT m a #

Monad m => Monad (ShellT m) Source # 

Methods

(>>=) :: ShellT m a -> (a -> ShellT m b) -> ShellT m b #

(>>) :: ShellT m a -> ShellT m b -> ShellT m b #

return :: a -> ShellT m a #

fail :: String -> ShellT m a #

Functor m => Functor (ShellT m) Source # 

Methods

fmap :: (a -> b) -> ShellT m a -> ShellT m b #

(<$) :: a -> ShellT m b -> ShellT m a #

Applicative m => Applicative (ShellT m) Source # 

Methods

pure :: a -> ShellT m a #

(<*>) :: ShellT m (a -> b) -> ShellT m a -> ShellT m b #

liftA2 :: (a -> b -> c) -> ShellT m a -> ShellT m b -> ShellT m c #

(*>) :: ShellT m a -> ShellT m b -> ShellT m b #

(<*) :: ShellT m a -> ShellT m b -> ShellT m a #

MonadIO m => MonadIO (ShellT m) Source # 

Methods

liftIO :: IO a -> ShellT m a #

MonadUnliftIO m => MonadResource (ShellT m) Source # 

Methods

liftResourceT :: ResourceT IO a -> ShellT m a #

MonadThrow m => MonadThrow (ShellT m) Source # 

Methods

throwM :: Exception e => e -> ShellT m a #

(MonadUnliftIO (ShellT m), Applicative m, MonadThrow m) => Alternative (ConduitT i o (ShellT m)) Source #

Intentionally only handles ShellException. Use normal exception handling to handle usual exceptions.

Methods

empty :: ConduitT i o (ShellT m) a #

(<|>) :: ConduitT i o (ShellT m) a -> ConduitT i o (ShellT m) a -> ConduitT i o (ShellT m) a #

some :: ConduitT i o (ShellT m) a -> ConduitT i o (ShellT m) [a] #

many :: ConduitT i o (ShellT m) a -> ConduitT i o (ShellT m) [a] #