r7rs-small-texinfo

Unnamed repository; edit this file 'description' to name the repository.
git clone https://kaka.farm/~git/r7rs-small-texinfo
Log | Files | Refs | README

commit 5045de8d8528acb4abab2d83ab11e148735efbca
parent f3715736ecf2cc71255230b196d1e52ca5642fb3
Author: Wolfgang Corcoran-Mathe <wcm@sigwinch.xyz>
Date:   Wed,  7 Feb 2024 14:18:03 -0500

Procedures: Apply errata.

Diffstat:
Mdoc/r7rs-small/procedures/booleans.texinfo | 2+-
Mdoc/r7rs-small/procedures/characters.texinfo | 8++++----
Mdoc/r7rs-small/procedures/control-features.texinfo | 2+-
Mdoc/r7rs-small/procedures/environments-and-evaluation.texinfo | 2+-
Mdoc/r7rs-small/procedures/pairs-and-lists.texinfo | 2+-
Mdoc/r7rs-small/procedures/strings.texinfo | 4++--
Mdoc/r7rs-small/references.texinfo | 6++++++
7 files changed, 16 insertions(+), 10 deletions(-)

diff --git a/doc/r7rs-small/procedures/booleans.texinfo b/doc/r7rs-small/procedures/booleans.texinfo @@ -59,7 +59,7 @@ The @code{boolean?} predicate returns @code{#t} if @var{obj} is either @deffn procedure boolean=? boolean1 boolean2 boolean3 @dots{} -Returns @code{#t} if all the arguments are booleans and all are +Returns @code{#t} if all the arguments are @code{#t} or all are @code{#f}. @end deffn diff --git a/doc/r7rs-small/procedures/characters.texinfo b/doc/r7rs-small/procedures/characters.texinfo @@ -160,10 +160,10 @@ it is returned. The @code{char-foldcase} procedure applies the Unicode simple case-folding algorithm to its argument and returns the result. Note that -language-sensitive folding is not used. If the argument is an uppercase -letter, the result will be either a lowercase letter or the same as the -argument if the lowercase letter does not exist or is not supported -by the implementation. See UAX #29 [@ref{uax29}] (part of the Unicode Standard) +language-sensitive folding is not used. If the character that results +from folding is not supported by the implementation, the argument is +returned. +See UAX #29 [@ref{uax29}] (part of the Unicode Standard) for details. Note that many Unicode lowercase characters do not have uppercase diff --git a/doc/r7rs-small/procedures/control-features.texinfo b/doc/r7rs-small/procedures/control-features.texinfo @@ -182,7 +182,7 @@ The arguments to @code{string-for-each} are like the arguments to @code{string-map}, but @code{string-for-each} calls @var{proc} for its side effects rather than for its values. Unlike @code{string-map}, @code{string-for-each} is guaranteed to call @var{proc} on the elements -of the @var{list}s in order from the first element(s) to the last, +of the @var{string}s in order from the first element(s) to the last, and the value returned by @code{string-for-each} is unspecified. If more than one @var{string} is given and not all strings have the same length, @code{string-for-each} terminates when the shortest string diff --git a/doc/r7rs-small/procedures/environments-and-evaluation.texinfo b/doc/r7rs-small/procedures/environments-and-evaluation.texinfo @@ -26,7 +26,7 @@ bindings corresponding to the specified version of the report. If implementation, an error is signaled. The effect of defining or assigning (through the use of @code{eval}) -an identifier bound in a @code{scheme-report-environment} (for example +an identifier bound in a @code{null-environment} (for example @code{car}) is unspecified. Thus both the environment and the bindings it contains may be immutable. diff --git a/doc/r7rs-small/procedures/pairs-and-lists.texinfo b/doc/r7rs-small/procedures/pairs-and-lists.texinfo @@ -325,7 +325,7 @@ Returns the sublist of @var{list} obtained by omitting the first @deffn procedure list-ref list k The @var{list} argument can be circular, but it is an error if @var{list} -has fewer than @var{k} elements. +has @var{k} or fewer elements. Returns the @var{k}th element of @var{list}. (This is the same as the car of @code{(list-tail }@var{list} @var{k}@code{)}.) diff --git a/doc/r7rs-small/procedures/strings.texinfo b/doc/r7rs-small/procedures/strings.texinfo @@ -220,8 +220,8 @@ and foldings are not used. The Unicode Standard prescribes special treatment of the Greek letter @greekcapitalsigma{}, whose normal lower-case form is @greeksmallsigma{} -but which becomes @greekfinalsigma at the end of a word. See UAX #29 -[@ref{uax29}] +but which becomes @greekfinalsigma at the end of a word. See UAX #44 +[@ref{uax44}] (part of the Unicode Standard) for details. However, implementations of @code{string-downcase} are not required to provide this behavior, and may choose to change @greekcapitalsigma{} to @greeksmallsigma{} in all cases. diff --git a/doc/r7rs-small/references.texinfo b/doc/r7rs-small/references.texinfo @@ -73,6 +73,12 @@ The revised@sup{4} report on the algorithmic language Scheme. In @cite{ACM Lisp Pointers} 4(3), pages@: 1--55, 1991. @item +@anchor{uax44} +Mark Davis. +Unicode Standard Annex #44, Unicode Character Database. +@url{http://unicode.org/reports/tr44/}, 2010. + +@item @anchor{uax29} Mark Davis. Unicode Standard Annex #29, Unicode Text Segmentation.