scala.util
continuations
package
continuations
Type Members
-
class
ControlContext
[+A, -B, +C]
extends Serializable
-
type
cps
[A]
= cpsParam[A, A]
-
class
cpsParam
[-B, +C]
extends Annotation with StaticAnnotation with TypeConstraint
-
Value Members
-
def
reify
[A, B, C]
(ctx: ⇒ A @scala.util.continuations.cpsParam[B,C]): ControlContext[A, B, C]
-
-
def
reset
[A, C]
(ctx: ⇒ A @scala.util.continuations.cpsParam[A,C]): C
-
def
reset0
[A]
(ctx: ⇒ A @scala.util.continuations.cpsParam[A,A]): A
-
def
run
[A]
(ctx: ⇒ Any @scala.util.continuations.cpsParam[Unit,A]): A
-
def
shift
[A, B, C]
(fun: ((A) ⇒ B) ⇒ C): A @scala.util.continuations.cpsParam[B,C]
-
def
shiftR
[A, B, C]
(fun: ((A) ⇒ B) ⇒ C): ControlContext[A, B, C]
-
def
shiftUnit
[A, B, C >: B]
(x: A): A @scala.util.continuations.cpsParam[B,C]
-
def
shiftUnit0
[A, B]
(x: A): A @scala.util.continuations.cpsParam[B,B]
-
def
shiftUnitR
[A, B]
(x: A): ControlContext[A, B, B]