Hoogle Search
Within LTS Haskell 24.67 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
type
CallCC (m :: Type -> Type) a b = a -> m b -> m a -> m atransformers Control.Monad.Signatures Signature of the callCC operation, introduced in Control.Monad.Trans.Cont. Any lifting function liftCallCC should satisfy
liftCallCC :: CallCC m (a, w) (b, w) -> CallCC (AccumT w m) a btransformers Control.Monad.Trans.Accum Uniform lifting of a callCC operation to the new monad. This version rolls back to the original output history on entering the continuation.
liftCallCC' :: CallCC m (a, w) (b, w) -> CallCC (AccumT w m) a btransformers Control.Monad.Trans.Accum In-situ lifting of a callCC operation to the new monad. This version uses the current output history on entering the continuation. It does not satisfy the uniformity property (see Control.Monad.Signatures).
-
transformers Control.Monad.Trans.Except finallyE a b executes computation a followed by computation b, even if a exits early by throwing an exception. In the latter case, the exception is re-thrown after b has been executed.
liftCallCC :: CallCC m (Either e a) (Either e b) -> CallCC (ExceptT e m) a btransformers Control.Monad.Trans.Except Lift a callCC operation to the new monad.
liftCallCC :: CallCC m a b -> CallCC (IdentityT m) a btransformers Control.Monad.Trans.Identity Lift a callCC operation to the new monad.
liftCallCC :: CallCC m (Maybe a) (Maybe b) -> CallCC (MaybeT m) a btransformers Control.Monad.Trans.Maybe Lift a callCC operation to the new monad.
liftCallCC :: CallCC m (a, s, w) (b, s, w) -> CallCC (RWST r w s m) a btransformers Control.Monad.Trans.RWS.CPS Uniform lifting of a callCC operation to the new monad. This version rolls back to the original state on entering the continuation.
liftCallCC' :: CallCC m (a, s, w) (b, s, w) -> CallCC (RWST r w s m) a btransformers Control.Monad.Trans.RWS.CPS In-situ lifting of a callCC operation to the new monad. This version uses the current state on entering the continuation.
liftCallCC :: Monoid w => CallCC m (a, s, w) (b, s, w) -> CallCC (RWST r w s m) a btransformers Control.Monad.Trans.RWS.Lazy Uniform lifting of a callCC operation to the new monad. This version rolls back to the original state on entering the continuation.