data-effects-0.1.2.0: A basic framework for effect systems based on effects represented by GADTs.
Safe HaskellSafe-Inferred
LanguageGHC2021

Data.Effect.Cont

Documentation

data CallCC m a where Source #

Constructors

CallCC :: (forall r. (a -> m r) -> m a) -> CallCC m a 

callCC'' :: forall key (a :: Type) m. SendSigBy key CallCC m => (forall (r :: Type). (a -> m r) -> m a) -> m a Source #

callCC' :: forall tag (a :: Type) m. SendSig (TagH CallCC tag) m => (forall (r :: Type). (a -> m r) -> m a) -> m a Source #

callCC :: forall (a :: Type) m. SendSig CallCC m => (forall (r :: Type). (a -> m r) -> m a) -> m a Source #