mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-23 13:00:34 +02:00
Tweak a few words from:
(Continuations): Rewrite with more detail.
This commit is contained in:
parent
ad22fe7cf8
commit
f1c6bec637
1 changed files with 5 additions and 5 deletions
|
@ -474,7 +474,7 @@ represented by the continuation.
|
||||||
|
|
||||||
A continuation is like a dynamic label, capturing at run-time a point
|
A continuation is like a dynamic label, capturing at run-time a point
|
||||||
in program execution, including all the nested calls that have lead to
|
in program execution, including all the nested calls that have lead to
|
||||||
it, or rather the code that will execute when those calls return.
|
it (or rather the code that will execute when those calls return).
|
||||||
|
|
||||||
Continuations are created with the following functions.
|
Continuations are created with the following functions.
|
||||||
|
|
||||||
|
@ -561,10 +561,10 @@ a function returning more times than it was called. It may help
|
||||||
instead to think of it being stealthily re-entered and then program
|
instead to think of it being stealthily re-entered and then program
|
||||||
flow going on as normal.
|
flow going on as normal.
|
||||||
|
|
||||||
The functions @code{dynamic-wind} (@pxref{Dynamic Wind}) can be used to
|
@code{dynamic-wind} (@pxref{Dynamic Wind}) can be used to ensure setup
|
||||||
ensure setup and cleanup code is run when a program locus is resumed or
|
and cleanup code is run when a program locus is resumed or abandoned
|
||||||
abandoned through the continuation mechanism. C code can use
|
through the continuation mechanism. C code can use @dfn{frames}
|
||||||
@dfn{frames} (@pxref{Frames}).
|
(@pxref{Frames}).
|
||||||
|
|
||||||
@sp 1
|
@sp 1
|
||||||
Continuations are a powerful mechanism, and can be used to implement
|
Continuations are a powerful mechanism, and can be used to implement
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue