continuations vocabulary
Factor handbook > Vocabulary index


Documentation
Continuations

Meta-data
Tags:reflection
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
attempt-all-error tuple
condition tupleerror restarts continuation
continuation tupledata call retain name catch
restart tuplename obj continuation


Generic words
WordStack effect
compute-restarts( error -- seq )
error-in-thread( error thread -- * )


Symbol words
callback-error-hook
error
error-continuation
error-thread
original-error
restarts
return-continuation
thread-error-hook


Ordinary words
WordStack effect
<condition>( error restarts continuation -- condition )
<continuation>( data call retain name catch -- continuation )
<restart>( name obj continuation -- restart )
attempt-all( ... seq quot: ( ... elt -- ... obj ) -- ... obj )
attempt-all-error( -- * )
callcc0( quot -- )
callcc1( quot -- obj )
cleanup( try cleanup-always cleanup-error -- )
continue( continuation -- * )
continue-restart( restart -- * )
continue-with( obj continuation -- * )
current-continuation( -- continuation )
ifcc( capture restore -- )
ignore-error( quot check: ( error -- ? ) -- )
ignore-error/f( quot check: ( error -- ? ) -- )
ignore-errors( quot -- )
in-callback?( -- ? )
recover( ..a try: ( ..a -- ..b ) recovery: ( ..a error -- ..b ) -- ..b )
rethrow( error -- * )
rethrow-restarts( error restarts -- restart )
return( -- * )
throw-continue( error -- )
throw-restarts( error restarts -- restart )
with-datastack( stack quot -- new-stack )
with-return( quot -- )


Class predicate words
WordStack effect
attempt-all-error?( object -- ? )
condition?( object -- ? )
continuation?( object -- ? )
restart?( object -- ? )


Files


Children
VocabularySummary
continuations.privatecontinuations.private vocabulary