control-dsl-0.2.1.3: An alternative to monads in do-notation

Safe HaskellSafe
LanguageHaskell2010

Control.Dsl.Shift

Description

 
Synopsis

Documentation

newtype Shift r' r a #

A keyword to extract the value of a CPS function .

Constructors

Shift ((a -> r') -> r') 
Instances
PolyCont (Shift r) r a # 
Instance details

Defined in Control.Dsl.Shift

Methods

runPolyCont :: Shift r r' a -> (a -> r) -> r #