In article <···············@trc.amoco.com> ······@trc.amoco.com (Donald H. Mitchell) writes:
>If the function in a restart-bind does not perform a non-local
>transfer of control but returns normally, where does it return to?
>Does it return to the caller (i.e., the next statement after
>#'invoke-restart)?
>...to the next form for execution within the body of the restart-bind
>(a nice idea but hard to imagine)?
From the dpANS:
If a \term{restart} is invoked but does not transfer control,
the values resulting from the \term{restart} function are
returned by the function that invoked the restart, either
\funref{invoke-restart} or \funref{invoke-restart-interactively}.
>(BTW: when will there be a dpANS-based doc for general consumption
>(e.g., another Guy Steele edition or at least a doc not intended
>primarily for compiler implementors)?)
I doubt there will be a dpANS-based book; they'll probably wait for the
real ANS.
--
Barry Margolin
System Manager, Thinking Machines Corp.
······@think.com {uunet,harvard}!think!barmar