From 3765c3591c9d0d2bfc0bd4d2aa9d00783c9e06ca Mon Sep 17 00:00:00 2001 From: Sam Tobin-Hochstadt Date: Mon, 9 Jun 2008 16:07:52 +0000 Subject: [PATCH] Use deftech instead of defterm for a bunch of terms. svn: r10195 --- collects/scribblings/guide/boxes.scrbl | 2 +- collects/scribblings/guide/io.scrbl | 2 +- collects/scribblings/guide/keywords.scrbl | 2 +- collects/scribblings/guide/numbers.scrbl | 6 +++--- collects/scribblings/guide/pairs.scrbl | 4 ++-- collects/scribblings/guide/paths.scrbl | 2 +- collects/scribblings/guide/ports.scrbl | 2 +- collects/scribblings/guide/symbols.scrbl | 2 +- collects/scribblings/guide/vectors.scrbl | 2 +- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/collects/scribblings/guide/boxes.scrbl b/collects/scribblings/guide/boxes.scrbl index 4c3d09a346..cb6c230b09 100644 --- a/collects/scribblings/guide/boxes.scrbl +++ b/collects/scribblings/guide/boxes.scrbl @@ -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. diff --git a/collects/scribblings/guide/io.scrbl b/collects/scribblings/guide/io.scrbl index 79bb19e5c5..c0d324ef28 100644 --- a/collects/scribblings/guide/io.scrbl +++ b/collects/scribblings/guide/io.scrbl @@ -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 diff --git a/collects/scribblings/guide/keywords.scrbl b/collects/scribblings/guide/keywords.scrbl index fc61c0cd95..c870b72638 100644 --- a/collects/scribblings/guide/keywords.scrbl +++ b/collects/scribblings/guide/keywords.scrbl @@ -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{#:}. diff --git a/collects/scribblings/guide/numbers.scrbl b/collects/scribblings/guide/numbers.scrbl index bedda2acb1..1fe81e9aa8 100644 --- a/collects/scribblings/guide/numbers.scrbl +++ b/collects/scribblings/guide/numbers.scrbl @@ -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 diff --git a/collects/scribblings/guide/pairs.scrbl b/collects/scribblings/guide/pairs.scrbl index 97f64b64aa..105916dff6 100644 --- a/collects/scribblings/guide/pairs.scrbl +++ b/collects/scribblings/guide/pairs.scrbl @@ -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 diff --git a/collects/scribblings/guide/paths.scrbl b/collects/scribblings/guide/paths.scrbl index 0cb2452ebb..9f218bcdc7 100644 --- a/collects/scribblings/guide/paths.scrbl +++ b/collects/scribblings/guide/paths.scrbl @@ -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 diff --git a/collects/scribblings/guide/ports.scrbl b/collects/scribblings/guide/ports.scrbl index 8dd85f6fdd..3824f19b81 100644 --- a/collects/scribblings/guide/ports.scrbl +++ b/collects/scribblings/guide/ports.scrbl @@ -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. diff --git a/collects/scribblings/guide/symbols.scrbl b/collects/scribblings/guide/symbols.scrbl index 1d477cdbce..b7f1bca356 100644 --- a/collects/scribblings/guide/symbols.scrbl +++ b/collects/scribblings/guide/symbols.scrbl @@ -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. diff --git a/collects/scribblings/guide/vectors.scrbl b/collects/scribblings/guide/vectors.scrbl index 1143f32ee6..4bf0391060 100644 --- a/collects/scribblings/guide/vectors.scrbl +++ b/collects/scribblings/guide/vectors.scrbl @@ -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.