| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Control.Monad.Ology.Specific.StepT
Synopsis
- newtype StepT (f :: Type -> Type) (m :: Type -> Type) a = MkStepT {}
- underTunnelStepT :: forall t (m :: Type -> Type) (turn :: Type -> Type) r. (MonadTransTunnel t, Monad m, Functor turn) => ((forall (m1 :: Type -> Type) a. Monad m1 => t m1 a -> m1 (Tunnel t a)) -> StepT turn m (Tunnel t r)) -> StepT turn (t m) r
- runSteps :: forall (m :: Type -> Type) (f :: Type -> Type). Monad m => Extract f -> StepT f m --> m
- pendingStep :: forall (f :: Type -> Type) (m :: Type -> Type). (Functor f, Monad m) => f --> StepT f m
Documentation
newtype StepT (f :: Type -> Type) (m :: Type -> Type) a Source #
A monad that can be run step-by-step until the result.
Instances
| Functor f => TransConstraint MonadIO (StepT f) Source # | |
Defined in Control.Monad.Ology.Specific.StepT | |
| Functor f => TransConstraint Functor (StepT f) Source # | |
Defined in Control.Monad.Ology.Specific.StepT | |
| Functor f => TransConstraint Monad (StepT f) Source # | |
Defined in Control.Monad.Ology.Specific.StepT | |
| Functor f => MonadTransHoist (StepT f) Source # | |
| Functor f => MonadTrans (StepT f) Source # | |
Defined in Control.Monad.Ology.Specific.StepT | |
| (Functor f, MonadIO m) => MonadIO (StepT f m) Source # | |
Defined in Control.Monad.Ology.Specific.StepT | |
| (Functor f, Monad m) => Applicative (StepT f m) Source # | |
Defined in Control.Monad.Ology.Specific.StepT | |
| (Functor f, Functor m) => Functor (StepT f m) Source # | |
| (Functor f, Monad m) => Monad (StepT f m) Source # | |
underTunnelStepT :: forall t (m :: Type -> Type) (turn :: Type -> Type) r. (MonadTransTunnel t, Monad m, Functor turn) => ((forall (m1 :: Type -> Type) a. Monad m1 => t m1 a -> m1 (Tunnel t a)) -> StepT turn m (Tunnel t r)) -> StepT turn (t m) r Source #