HORIZON HASKELLDocslts/ghc-9.14.xb9228482026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · b922848 · 2026-10-12

Moduleadjunctions-4.4.4Haskell2010

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
Contents
  1. Continuation passing style
  2. Multiple-continuation passing style
  3. Multiple-continuation passing style transformer
Synopsis

Continuation passing style

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

Multiple-continuation passing style

Multiple-continuation passing style transformer

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

Constructors

Instances5MonadTrans, Monad, Functor, Applicative, Apply