Handbook
Glossary
callcc1 ( quot -- obj )
Factor handbook
»
The language
»
Continuations
Prev:
callcc0 ( quot -- )
Next:
continue ( continuation -- * )
Vocabulary
continuations
Inputs
quot
a
quotation
with stack effect
( continuation -- )
Outputs
obj
an object provided when resuming the continuation
Word description
Applies the quotation to the current continuation, which is reified from the point immediately after which the caller returns. The
continue-with
word resumes the continuation, passing a value back to the original execution context.
See also
callcc0
,
continue
,
continue-with
,
ifcc
Definition
IN:
continuations
:
callcc1
( quot -- obj )
[
]
ifcc
;
inline