Use deftech instead of defterm for a bunch of terms.
svn: r10195
This commit is contained in:
parent
f1bacbb166
commit
3765c3591c
|
@ -5,7 +5,7 @@
|
|||
|
||||
@title[#:tag "boxes"]{Boxes}
|
||||
|
||||
A @defterm{box} is like a single-element vector. It prints as
|
||||
A @deftech{box} is like a single-element vector. It prints as
|
||||
@litchar{#&} followed by the printed form of the boxed value. A
|
||||
@litchar{#&} form can also be used as an expression, but since the
|
||||
resulting box is constant, it has practically no use.
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
@title[#:tag "i/o" #:style 'toc]{Input and Output}
|
||||
|
||||
A Scheme @defterm{port} represents an input or output stream, such as
|
||||
A Scheme @deftech{port} represents an input or output stream, such as
|
||||
a file, a terminal, a TCP connection, or an in-memory string. More
|
||||
specifically, an @defterm{input port} represents a stream from which a
|
||||
program can read data, and an @defterm{output port} represents a
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
@title[#:tag "keywords"]{Keywords}
|
||||
|
||||
A @defterm{keyword} value is similar to a symbol (see
|
||||
A @deftech{keyword} value is similar to a symbol (see
|
||||
@secref["symbols"]), but its printed form is prefixed with
|
||||
@litchar{#:}.
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
@title[#:tag "numbers"]{Numbers}
|
||||
|
||||
A Scheme @defterm{number} is either exact or inexact:
|
||||
A Scheme @deftech{number} is either exact or inexact:
|
||||
|
||||
@itemize{
|
||||
|
||||
|
@ -103,8 +103,8 @@ with inexact numbers.
|
|||
(time (round (sigma (lambda (x) (/ 1.0 x)) 1 2000)))
|
||||
]
|
||||
|
||||
The number categories @defterm{integer}, @defterm{rational},
|
||||
@defterm{real} (always rational), and @defterm{complex} are defined in
|
||||
The number categories @deftech{integer}, @deftech{rational},
|
||||
@deftech{real} (always rational), and @deftech{complex} are defined in
|
||||
the usual way, and are recognized by the procedures @scheme[integer?],
|
||||
@scheme[rational?], @scheme[real?], and @scheme[complex?], in addition
|
||||
to the generic @scheme[number?]. A few mathematical procedures accept
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
@title{Pairs and Lists}
|
||||
|
||||
A @defterm{pair} joins two arbitrary values. The @scheme[cons]
|
||||
A @deftech{pair} joins two arbitrary values. The @scheme[cons]
|
||||
procedure constructs pairs, and the @scheme[car] and @scheme[cdr]
|
||||
procedures extract the first and second elements of the pair,
|
||||
respectively. The @scheme[pair?] predicate recognizes pairs.
|
||||
|
@ -21,7 +21,7 @@ the two pair elements, putting a @litchar{.} between them.
|
|||
(pair? (cons 1 2))
|
||||
]
|
||||
|
||||
A @defterm{list} is a combination of pairs that creates a linked
|
||||
A @deftech{list} is a combination of pairs that creates a linked
|
||||
list. More precisely, a list is either the empty list @scheme[null],
|
||||
or it is a pair whose first element is a list element and whose second
|
||||
element is a list. The @scheme[list?] predicate recognizes lists. The
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
@title[#:tag "paths"]{Paths}
|
||||
|
||||
A @defterm{path} encapsulates a filesystem path that (potentially)
|
||||
A @deftech{path} encapsulates a filesystem path that (potentially)
|
||||
names a file or directory. Although paths can be converted to and from
|
||||
strings and byte strings, neither strings nor byte strings are
|
||||
suitable for representing general paths. The problem is that paths are
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
@title[#:tag "ports"]{Input and Output Ports}
|
||||
|
||||
A @defterm{port} encapsulates an I/O stream, normally for just one
|
||||
A @deftech{port} encapsulates an I/O stream, normally for just one
|
||||
direction. An @defterm{input port} reads from a stream, and an
|
||||
@defterm{output port} writes to a string.
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
@title[#:tag "symbols"]{Symbols}
|
||||
|
||||
A @defterm{symbol} is an atomic value that prints like an identifier.
|
||||
A @deftech{symbol} is an atomic value that prints like an identifier.
|
||||
An expression that starts with @litchar{'} and continues with an
|
||||
identifier produces a symbol value.
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
@title[#:tag "vectors"]{Vectors}
|
||||
|
||||
A @defterm{vector} is a fixed-length array of arbitrary
|
||||
A @deftech{vector} is a fixed-length array of arbitrary
|
||||
values. Unlike a list, a vector supports constant-time access and
|
||||
update of its elements.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user