From 29a9931e9b74f48434b902a89f61277d0bcc0f27 Mon Sep 17 00:00:00 2001 From: Andy Keep Date: Fri, 25 May 2018 21:46:01 -0400 Subject: [PATCH] Small fix to with-output-to-string documentation (thanks @jtaylor-us) and usage (thanks @ocyzl---issue #280). original commit: 78b3946d3747a87f1ee3de811170c671c0c2b0c5 --- csug/io.stex | 2 +- csug/use.stex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/csug/io.stex b/csug/io.stex index 128c5eff19..aa2f9df31a 100644 --- a/csug/io.stex +++ b/csug/io.stex @@ -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 diff --git a/csug/use.stex b/csug/use.stex index fae1ef54dd..3ea4783a55 100644 --- a/csug/use.stex +++ b/csug/use.stex @@ -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