file: job.t package: muf status: alpha
This function returns the contents of the nth restart from the top of the loop stack, along with a value which may be used to refer to it in future (the integer offset of the restart within the stack, as it happens -- but code should not be written to depend on this). The top restart is number zero.
The return values are:
:name
symbol specified when creating restart.
:function
function specified when creating restart.
:testFunction
function specified when creating restart.
:interactiveFunction
function specified when creating restart.
:reportFunction
function specified when creating restart.
:data
value specified when creating restart, else nil
.
nil
if no nth restart was found, else a
restart label usable with getRestart
.
Example:
Stack: [ :function :: ; :name 'x | ]withRestartDo{ 0 getNthRestart } Stack: 16 nil nil nil nil #<c-fn _> 'x
Go to the first, previous, next, last section, table of contents.