commit 6757758ee03b0f0c8f455e03ae196efc9177c921
parent 89efd6e3b9d3a6f1ed0e9216c7ffb190b9d23482
Author: Wolfgang Corcoran-Mathe <wcm@sigwinch.xyz>
Date: Mon, 29 Jan 2024 15:14:02 -0500
Overview: Clean up and format glossary table.
Diffstat:
1 file changed, 70 insertions(+), 60 deletions(-)
diff --git a/doc/r7rs-small/r7rs-small.texinfo b/doc/r7rs-small/r7rs-small.texinfo
@@ -444,66 +444,76 @@ type. For example, the header line for @code{vector-ref} given above dictates th
argument to @code{vector-ref} is a vector. The following naming conventions also imply type
restrictions:
- alist association list
- (list of pairs)
- boolean boolean value
- (#t or #f)
- byte exact integer 0
- ≤byte < 256
- bytevector bytevector
- char character
- end exact
- non-negative
- integer
- k, exact
- non-negative
- k1, @dots{} integer
-
- kj, @dots{}
- letter alphabetic
- character
- list, list (see section
- 6.4)
- list1, @dots{}
-
- listj, @dots{}
- n, integer
-
- n1, @dots{}
-
- nj, @dots{}
- obj any object
- pair pair
- port port
- proc procedure
- q, rational
- number
- q1, @dots{}
-
- qj, @dots{}
- start exact
- non-negative
- integer
- string string
- symbol symbol
- thunk zero-argument
- procedure
- vector vector
- x, real number
-
- x1, @dots{}
-
- xj, @dots{}
- y, real number
-
- y1, @dots{}
-
- yj, @dots{}
- z, complex
- number
- z1, @dots{}
-
- zj, @dots{}
+@table @asis
+@item @var{alist}
+association list (list of pairs)
+
+@item @var{boolean}
+boolean value (@code{#t} or @code{#f})
+
+@item @var{byte}
+exact integer 0 @leq{} @var{byte} < 256
+
+@item @var{bytevector}
+bytevector
+
+@item @var{char}
+character
+
+@item @var{end}
+exact non-negative integer
+
+@item @var{k}, @var{k}@sub{1}, @dots{} @var{k}@sub{@var{j}}, @dots{}
+exact non-negative integer
+
+@item @var{letter}
+alphabetic character
+
+@item @var{list}, @var{list}@sub{1}, @dots{} @var{list}@sub{@var{j}}, @dots{}
+list
+
+@item @var{n}, @var{n}@sub{1}, @dots{} @var{n}@sub{@var{j}}, @dots{}
+integer
+
+@item @var{obj}
+any object
+
+@item @var{pair}
+pair
+
+@item @var{port}
+port
+
+@item @var{proc}
+procedure
+
+@item @var{q}, @var{q}@sub{1}, @dots{} @var{q}@sub{@var{j}}, @dots{}
+rational number
+
+@item @var{start}
+exact non-negative integer
+
+@item @var{string}
+string
+
+@item @var{symbol}
+symbol
+
+@item @var{thunk}
+zero-argument procedure
+
+@item @var{vector}
+vector
+
+@item @var{x}, @var{x}@sub{1}, @dots{} @var{x}@sub{@var{j}}, @dots{}
+real number
+
+@item @var{y}, @var{y}@sub{1}, @dots{} @var{y}@sub{@var{j}}, @dots{}
+real number
+
+@item @var{z}, @var{z}@sub{1}, @dots{} @var{z}@sub{@var{j}}, @dots{}
+real number
+@end table
The names