Handbook
Glossary
callcc0 ( quot -- )
Factor handbook
»
The language
»
Continuations
Next:
callcc1 ( quot -- obj )
Vocabulary
continuations
Inputs
quot
a
quotation
with stack effect
( continuation -- )
Outputs
None
Word description
Applies the quotation to the current continuation, which is reified from the point immediately after which the caller returns. The
continue
word resumes the continuation.
See also
continue
,
callcc1
,
continue-with
,
ifcc
Definition
USING:
kernel
;
IN:
continuations
:
callcc0
( quot -- )
[
drop
]
ifcc
;
inline