Previous: Finding and Invoking General Restart Code, Up: Restarts
A restart object is very simple, since it encapsulates only a name, effector, interactor, and description.
Returns the name of restart. While the Scheme error system uses only symbols and the object
#f
for its predefined names, programs may use arbitrary objects (name equivalence is tested usingeq?
).
Returns the effector encapsulated in restart. Normally this procedure is not used since
invoke-restart
andinvoke-restart-interactively
capture the most common invocation patterns.
Returns the interactor encapsulated in restart. This is either a procedure of no arguments or the object
#f
. Normally this procedure is not used sinceinvoke-restart-interactively
captures the most common usage. Thusrestart/interactor
is most useful as a predicate to determine if restart is intended to be invoked interactively.