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 6148e942833bbf4723b6d30246761ce85d6b5edc
parent 2f11817765c721ff3127d81893738cda0777bcd4
Author: Wolfgang Corcoran-Mathe <wcm@sigwinch.xyz>
Date:   Wed, 31 Jan 2024 14:23:38 -0500

Assignments: Texify.

Diffstat:
Mdoc/r7rs-small/r7rs-small.texinfo | 17+++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/doc/r7rs-small/r7rs-small.texinfo b/doc/r7rs-small/r7rs-small.texinfo @@ -1429,21 +1429,22 @@ value and no @svar{alternate} is specified, then the result of the expression is @node Assignments @subsection Assignments -syntax: (set! @svar{variable} @svar{expression}) +@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 set! expression is +regionenclosing the set! expression or else globally. The result of the @code{set!} expression is unspecified. +@end deffn -@example +@display -(define x 2) -(+ x 1) @result{} 3 -(set! x 4) @result{} unspecified -(+ x 1) @result{} 5 +@code{(define x 2)} +@code{(+ x 1) @result{} 3} +@code{(set! x 4) @result{}} unspecified +@code{(+ x 1) @result{} 5} -@end example +@end display @node Inclusion @subsection Inclusion