continuations vocabulary
Factor handbook » Vocabulary index


Documentation
Continuations

Metadata
Tags:reflection
Authors:Slava Pestov


Words

Error classes
ClassSuperclassSlots
Image attempt-all-errorImage tuple


Tuple classes
ClassSuperclassSlots
Image conditionImage tupleerror restarts continuation
Image continuationImage tupledata call retain name catch
Image restartImage tuplename obj continuation


Singleton classes
Image no-op-restart


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


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


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


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


Files


Metadata files


Children from resource:core
VocabularySummary
Image continuations.continuations-tests.factor
Image continuations.continuations.factor
Image continuations.summary.txt
Image continuations.continuations-docs.factor
Image continuations.authors.txt
Image continuations.tags.txt


Children from resource:extra
VocabularySummary
Image continuations.extras