From: Matt Birkholz Date: Wed, 1 Jul 2015 14:56:57 +0000 (-0700) Subject: doc: the dynamic context is the dynamic state X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=b52dff40a485d7daf41773d4b1ea8257326091bc;p=mit-scheme.git doc: the dynamic context is the dynamic state And unparenthesize a sentence. --- diff --git a/doc/ref-manual/procedures.texi b/doc/ref-manual/procedures.texi index 722c82aa0..543aa8c9a 100644 --- a/doc/ref-manual/procedures.texi +++ b/doc/ref-manual/procedures.texi @@ -365,7 +365,7 @@ Returns @code{#t} if @var{object} is a continuation; otherwise returns @cindex escape procedure, alternate invocation @var{Thunk} must be a procedure of no arguments. Conceptually,@* @code{within-continuation} invokes @var{continuation} on the result of -invoking @var{thunk}, but @var{thunk} is executed in the dynamic context +invoking @var{thunk}, but @var{thunk} is executed in the dynamic state of @var{continuation}. In other words, the ``current'' continuation is abandoned before @var{thunk} is invoked. @end deffn @@ -373,9 +373,9 @@ abandoned before @var{thunk} is invoked. @deffn procedure dynamic-wind before thunk after Calls @var{thunk} without arguments, returning the result(s) of this call. @var{Before} and @var{after} are called, also without arguments, -as required by the following rules (note that in the absence of calls to +as required by the following rules. Note that in the absence of calls to continuations captured using @code{call-with-current-continuation} the -three arguments are called once each, in order). @var{Before} is called +three arguments are called once each, in order. @var{Before} is called whenever execution enters the dynamic extent of the call to @var{thunk} and @var{after} is called whenever it exits that dynamic extent. The dynamic extent of a procedure call is the period between when the call