Copyright | (c) Ross Paterson 2012 |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | R.Paterson@city.ac.uk |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Signatures for monad operations that require specialized lifting. Each signature has a uniformity property that the lifting should satisfy.
Documentation
type CallCC (m :: Type -> Type) a b = ((a -> m b) -> m a) -> m a Source #
Signature of the callCC
operation,
introduced in Control.Monad.Trans.Cont.
Any lifting function liftCallCC
should satisfy
type Catch e (m :: k -> Type) (a :: k) = m a -> (e -> m a) -> m a Source #
Signature of the catchE
operation,
introduced in Control.Monad.Trans.Except.
Any lifting function liftCatch
should satisfy