polysemy-0.1.1.0: Higher-order, low-boilerplate, zero-cost free monads.
Polysemy.Fixpoint
Contents
data Fixpoint m a where Source #
An effect for providing mfix.
mfix
Constructors
runFixpoint :: (forall x. Semantic r x -> x) -> Semantic (Fixpoint ': r) a -> Semantic r a Source #
Run a Fixpoint effect purely.
Fixpoint
runFixpointM :: (MonadFix m, Member (Lift m) r) => (forall x. Semantic r x -> m x) -> Semantic (Fixpoint ': r) a -> Semantic r a Source #
Run a Fixpoint effect in terms of an underlying MonadFix instance.
MonadFix