From 03ae461f54797fa32adf4c3b05fe69622e58940a Mon Sep 17 00:00:00 2001 From: "Matthew D. Miller" Date: Fri, 5 Oct 2018 14:53:02 -0500 Subject: [PATCH] Fixes typos pointed out in #353 original commit: ebee5db8fac9639bd88f313ef0c4a0641dba8317 --- csug/binding.stex | 10 +++++----- csug/io.stex | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/csug/binding.stex b/csug/binding.stex index 8152937940..6150d64059 100644 --- a/csug/binding.stex +++ b/csug/binding.stex @@ -49,7 +49,7 @@ albeit scoped where the bindings of the \scheme{let-syntax} or in a library or RNRS top-level program unless the \scheme{scheme} library is included in the library or top-level programs imports. -These forms are described in Chatper~\ref{CHPTSYNTAX}. +These forms are described in Chapter~\ref{CHPTSYNTAX}. In Revised$^6$ Report Scheme, definitions can appear at the front of a \scheme{lambda} or similar body (e.g., a \scheme{let} or \scheme{letrec} @@ -66,8 +66,8 @@ procedure. The macro expander uses the same two-pass algorithm for expanding top-level \scheme{begin} expressions as it uses for a \scheme{lambda}, \scheme{library}, or top-level program body. -(This algorithm is described in Section~\ref{SECTSYNTAXDEFINITIONS} of {\TSPLFOUR}.) -As a result, +(This algorithm is described in Section~\ref{TSPL:SECTSYNTAXDEFINITIONS} of +{\TSPLFOUR}.) As a result, \schemedisplay (begin @@ -85,7 +85,7 @@ and both result in the giving \scheme{x} the value 3, even though an unbound variable reference to \scheme{a} would result if -the two forms within the latter \scheme{begin} expression where run +the two forms within the latter \scheme{begin} expression were run independently at top level. Similarly, the \scheme{begin} form produced by a use of @@ -136,7 +136,7 @@ for internal variable definitions, for backward compatibility. %---------------------------------------------------------------------------- \noskipentryheader -\formdef{define-values}{\categorysyntax}{(define-values formals \var{expr})} +\formdef{define-values}{\categorysyntax}{(define-values \var{formals} \var{expr})} \listlibraries \endnoskipentryheader diff --git a/csug/io.stex b/csug/io.stex index f0d9c4400e..c8a15792ce 100644 --- a/csug/io.stex +++ b/csug/io.stex @@ -310,7 +310,7 @@ predicate \scheme{transcoder?}, which should be standard but is not. \scheme{little}. The codec returned by \scheme{utf-16-codec} can be used to create -process data written UFT-16 format. +process data written UTF-16 format. When called without the \var{endianness} argument or with \var{endianness} \scheme{big}, \scheme{utf-16-codec} returns a codec for standard UTF-16 data, i.e., one that defaults to big-endian format if no byte-order mark