Handbook
Glossary
finally ( try cleanup-always -- )
Vocabulary
continuations
Inputs
try
a
quotation
with stack effect
( ..a -- ..a )
cleanup-always
a
quotation
with stack effect
( ..a -- ..b )
Outputs
None
Word description
Same as
cleanup
, but with empty
cleanup-error
quotation. Useful when some cleanup code needs to be run after the
try
quotation whether an error was thrown or not, but when nothing specific needs to be done about any errors.
See also
cleanup
,
recover
Definition
IN:
continuations
:
finally
( try cleanup-always -- )
[
]
cleanup
;
inline