HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

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