Next: Exceptions, Previous: Bytevectors, Up: Scheme reference [Contents][Index]
The (hoot control)
module provides an interface for Guile’s
delimited continuation facility known as “prompts” and some of the
(ice-9 control)
API. See the Guile manual for more detailed
information.
Return a new prompt tag that incorporates the value of stem. A prompt tag is simply a unique object.
Call the procedure body, a procedure of 0 arguments or
“thunk”, within the context of a prompt marked with tag.
Should this prompt be aborted via abort-to-prompt
, the
procedure handler is called. The handler procedure
receives as arguments a continuation object and any additional
arguments that were passed to abort-to-prompt
.
Unwind the dynamic and control context to the nearest prompt named tag, so passing the additional values val …
Return the default prompt tag.
Return the default prompt handler procedure.
Note that both default-prompt-tag
and
default-prompt-handler
are parameters, so their values may be
modified by using parameterize
. See Parameters for more
information.
Next: Exceptions, Previous: Bytevectors, Up: Scheme reference [Contents][Index]