HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduletransformers-0.6.1.1Haskell2010

Control.Monad.Signatures

Signatures for monad operations that require specialized lifting. Each signature has a uniformity property that the lifting should satisfy.

  • 4 types
typetype CallCC (m :: Type -> Type) a b = ((a -> m b) -> m a) -> m a
#

Signature of the callCC operation, introduced in Control.Monad.Trans.Cont. Any lifting function liftCallCC should satisfy

  • lift (f k) = f' (lift . k) => lift (cf f) = liftCallCC cf f'
typetype Catch e (m :: k -> Type) (a :: k) = m a -> (e -> m a) -> m a
#

Signature of the catchE operation, introduced in Control.Monad.Trans.Except. Any lifting function liftCatch should satisfy