HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduleadjunctions-4.4.3Haskell2010

Control.Monad.Trans.Conts

Cont r ~ Contravariant.Adjoint (Op r) (Op r)
Conts r ~ Contravariant.AdjointT (Op r) (Op r)
ContsT r w m ~ Contravariant.AdjointT (Op (m r)) (Op (m r)) w
  • 3 types
  • 5 values

Continuation passing style

3 declarations
valuecont :: ((a -> r) -> r) -> Cont r a
#

Multiple-continuation passing style

3 declarations

Multiple-continuation passing style transformer

2 declarations
newtypenewtype ContsT r (w :: Type -> Type) (m :: Type -> Type) a
#

Constructors

Instances5MonadTrans, Monad, Functor, Applicative, Apply