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 93ee3c439997835feeaa906d868e23b9e2c14f97
parent 6a4b93eaa71d75f5099a28a3cd27b868a43abb1e
Author: Wolfgang Corcoran-Mathe <wcm@sigwinch.xyz>
Date:   Wed, 31 Jan 2024 13:41:19 -0500

Revert "Use @samp for literal tokens."

In most output, @samp formats text with surrounding quotes, which
makes these sequences a bit hard to read.

This reverts commit 72d305f0ecf5eae68b246c27fc3bf7de22e9e065.

Diffstat:
Mdoc/r7rs-small/r7rs-small.texinfo | 30+++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/doc/r7rs-small/r7rs-small.texinfo b/doc/r7rs-small/r7rs-small.texinfo @@ -727,61 +727,61 @@ For a description of the notations used for numbers, see section 6.2. @table @t -@item @samp{. + -} +@item @t{. + -} These are used in numbers, and can also occur anywhere in an identifier. A delimited plus or minus sign by itself is also an identifier. A delimited period (not occurring within a number or identifier) is used in the notation for pairs (section 6.4), and to indicate a rest-parameter in a formal parameter list (section 4.1.4). Note that a sequence of two or more periods is an identifier. -@item @samp{( )} +@item @t{( )} Parentheses are used for grouping and to notate lists (section 6.4). -@item @samp{'} +@item @t{'} The apostrophe (single quote) character is used to indicate literal data (section 4.1.2). -@item @samp{`} +@item @t{`} The grave accent (backquote) character is used to indicate partly constant data (section 4.2.8). -@item @samp{, ,@@} +@item @t{, ,@@} The character comma and the sequence comma at-sign are used in conjunction with quasiquotation (section 4.2.8). -@item @samp{"} +@item @t{"} The quotation mark character is used to delimit strings (section 6.7). -@item @samp{\} +@item @t{\} Backslash is used in the syntax for character constants (section 6.6) and as an escape character within string constants (section 6.7) and identifiers (section 7.1.1). -@item @samp{[ ] @{ @} |} +@item @t{[ ] @{ @} |} Left and right square and curly brackets (braces) are reserved for possible future extensions to the language. -@item @samp{#} +@item @t{#} The number sign is used for a variety of purposes depending on the character that immediately follows it: -@item @samp{#t #f} +@item @t{#t #f} These are the boolean constants (section 6.3), along with the alternatives #true and #false. -@item @samp{#\} +@item @t{#\} This introduces a character constant (section 6.6). -@item @samp{#(} +@item @t{#(} This introduces a vector constant (section 6.8). Vector constants are terminated by ) . -@item @samp{#u8(} +@item @t{#u8(} This introduces a bytevector constant (section 6.9). Bytevector constants are terminated by @code{)} . -@item @samp{#e #i #b #o #d #x} +@item @t{#e #i #b #o #d #x} These are used in the notation for numbers (section 6.2.5). -@item @samp{#@svar{n}= #@svar{n}#} +@item @t{#<n>= #<n>#} These are used for labeling and referencing other literal data (section 2.4). @end table