Small fix to with-output-to-string documentation (thanks @jtaylor-us)

and usage (thanks @ocyzl---issue #280).

original commit: 78b3946d3747a87f1ee3de811170c671c0c2b0c5
This commit is contained in:
Andy Keep 2018-05-25 21:46:01 -04:00
parent 6b4ae1726b
commit 29a9931e9b
2 changed files with 2 additions and 2 deletions

View File

@ -1091,7 +1091,7 @@ written using string-output ports to produce string output.
a new string output port during the
application of \var{thunk}.
If \var{thunk} returns, the string associated with the new string output
port is returned, as with \scheme{get-output-from-string}.
port is returned, as with \scheme{get-output-string}.
\schemedisplay
(with-output-to-string

View File

@ -687,7 +687,7 @@ been defined,
(define yin (lambda () (- (yang) 1)))
\endschemedisplay
defines \scheme{yin} at top level as a variable to a procedure that calls
defines \scheme{yin} at top level as a variable bound to a procedure that calls
the value of the top-level variable \scheme{yang}, even though \scheme{yang}
has not yet been defined.
If this is followed by