| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Control.Monad.Ology.General.Trans.Coerce
Synopsis
- class MonadTrans t => MonadTransCoerce (t :: (Type -> Type) -> Type -> Type) where
Documentation
class MonadTrans t => MonadTransCoerce (t :: (Type -> Type) -> Type -> Type) where Source #
A monad transformer for which coercibility is transitive.
Methods
transCoerce :: forall (m1 :: Type -> Type) (m2 :: Type -> Type). Coercible m1 m2 => Dict (Coercible (t m1) (t m2)) Source #
Instances
| MonadTransCoerce MaybeT Source # | |
| MonadTransCoerce (ExceptT e) Source # | |
| MonadTransCoerce (IdentityT :: (Type -> Type) -> Type -> Type) Source # | |
| MonadTransCoerce (ReaderT r) Source # | |
| MonadTransCoerce (StateT a) Source # | |
| Monoid w => MonadTransCoerce (WriterT w) Source # | |
| (MonadTransCoerce outerT, MonadTransCoerce innerT, TransConstraint Monad innerT) => MonadTransCoerce (ComposeT outerT innerT) Source # | |
| MonadTransCoerce (ContT r) Source # | |