Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
newtype ContT f i j a Source #
Instances
IxMonad (ContT f :: k -> k -> Type -> Type) Source # | |
IxApplicative (ContT f :: k -> k -> Type -> Type) Source # | |
Monad (ContT f k2 k2) Source # | |
Functor (ContT f i j) Source # | |
MonadFail m => MonadFail (ContT m k k) Source # | |
Defined in Control.Monad.Indexed.Trans.Cont | |
Applicative (ContT f k2 k2) Source # | |
Defined in Control.Monad.Indexed.Trans.Cont pure :: a -> ContT f k2 k2 a # (<*>) :: ContT f k2 k2 (a -> b) -> ContT f k2 k2 a -> ContT f k2 k2 b # liftA2 :: (a -> b -> c) -> ContT f k2 k2 a -> ContT f k2 k2 b -> ContT f k2 k2 c # (*>) :: ContT f k2 k2 a -> ContT f k2 k2 b -> ContT f k2 k2 b # (<*) :: ContT f k2 k2 a -> ContT f k2 k2 b -> ContT f k2 k2 a # | |
Alternative p => Alternative (ContT p k k) Source # | |
Alternative p => MonadPlus (ContT p k k) Source # | |
evalContT :: Applicative p => ContT p a a a -> p a Source #