scala.util.continuations
This annotation is used to mark a parameter as part of a continuation context.
The type A @cpsParam[B,C] is desugared to ControlContext[A,B,C] at compile time.
A @cpsParam[B,C]
ControlContext[A,B,C]
The type of computation state after computation has executed, and before control is returned to the shift.
The eventual return type of this delimited compuation.
scala.util.continuations.ControlContext
This annotation is used to mark a parameter as part of a continuation context.
The type
A @cpsParam[B,C]
is desugared toControlContext[A,B,C]
at compile time.The type of computation state after computation has executed, and before control is returned to the shift.
The eventual return type of this delimited compuation.
scala.util.continuations.ControlContext