Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
newtype Codensity m a Source #
Instances
MonadTrans (Codensity :: (Type -> Type) -> Type -> Type) Source # | |
Defined in Control.Monad.Codensity | |
Monad (Codensity m) Source # | |
Functor (Codensity m) Source # | |
MonadFail f => MonadFail (Codensity f) Source # | |
Defined in Control.Monad.Codensity | |
Applicative (Codensity p) Source # | |
Defined in Control.Monad.Codensity | |
Alternative p => Alternative (Codensity p) Source # | |
Alternative p => MonadPlus (Codensity p) Source # | |
unlift :: Applicative p => Codensity p a -> p a Source #