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

commit 1275c1c53e13075eada220e4c0865613d54e969d
parent 6148e942833bbf4723b6d30246761ce85d6b5edc
Author: Wolfgang Corcoran-Mathe <wcm@sigwinch.xyz>
Date:   Wed, 31 Jan 2024 14:25:01 -0500

Reflow.

Diffstat:
Mdoc/r7rs-small/r7rs-small.texinfo | 24++++++++++++++----------
1 file changed, 14 insertions(+), 10 deletions(-)

diff --git a/doc/r7rs-small/r7rs-small.texinfo b/doc/r7rs-small/r7rs-small.texinfo @@ -1397,9 +1397,10 @@ It is an error for a @svar{variable} to appear more than once in @svar{formals}. @end example -Each procedure created as the result of evaluating a @code{lambda} expression is (conceptually) -tagged with a storage location, in order to make @code{eqv?} and @code{eq?} work on procedures -(@xref{Equivalence predicates}). +Each procedure created as the result of evaluating a @code{lambda} +expression is (conceptually) tagged with a storage location, in order to +make @code{eqv?} and @code{eq?} work on procedures (@xref{Equivalence +predicates}). @end deffn @node Conditionals (if) @@ -1410,10 +1411,12 @@ tagged with a storage location, in order to make @code{eqv?} and @code{eq?} work Syntax: @svar{Test}, @svar{consequent}, and @svar{alternate} are expressions. -Semantics: An @code{if} expression is evaluated as follows: first, @svar{test} is evaluated. If it yields a -true value (@xref{Booleans}), then @svar{consequent} is evaluated and its values are returned. -Otherwise @svar{alternate} is evaluated and its values are returned. If @svar{test} yields a false -value and no @svar{alternate} is specified, then the result of the expression is unspecified. +Semantics: An @code{if} expression is evaluated as follows: first, +@svar{test} is evaluated. If it yields a true value (@xref{Booleans}), then +@svar{consequent} is evaluated and its values are returned. Otherwise +@svar{alternate} is evaluated and its values are returned. If @svar{test} +yields a false value and no @svar{alternate} is specified, then the result +of the expression is unspecified. @end deffn @example @@ -1431,9 +1434,10 @@ value and no @svar{alternate} is specified, then the result of the expression is @deffn syntax set! @svar{variable} @svar{expression} -Semantics: @svar{Expression} is evaluated, and the resulting value is stored in the location to -which @svar{variable} is bound. It is an error if @svar{variable} is not bound either in some -regionenclosing the set! expression or else globally. The result of the @code{set!} expression is +Semantics: @svar{Expression} is evaluated, and the resulting value is stored +in the location to which @svar{variable} is bound. It is an error if +@svar{variable} is not bound either in some regionenclosing the set! +expression or else globally. The result of the @code{set!} expression is unspecified. @end deffn