add some datatype deftechs

svn: r12026
This commit is contained in:
Matthew Flatt 2008-10-13 21:36:18 +00:00
parent 2ef287f107
commit d3397103a8
4 changed files with 14 additions and 13 deletions

View File

@ -3,9 +3,10 @@
@title[#:tag "booleans"]{Booleans and Equality}
True and false are represented by the values @scheme[#t] and
@scheme[#f], respectively, though operations that depend a boolean
value typically treat anything other than @scheme[#f] as true.
True and false @deftech{booleans} are represented by the values
@scheme[#t] and @scheme[#f], respectively, though operations that
depend a boolean value typically treat anything other than @scheme[#f]
as true.
See also: @scheme[and], @scheme[or], @scheme[andmap], @scheme[ormap].

View File

@ -7,7 +7,7 @@
@guideintro["characters"]{characters}
MzScheme characters range over Unicode scalar values, which includes
@deftech{Characters} range over Unicode scalar values, which includes
characters whose values range from @schemevalfont{#x0} to
@schemevalfont{#x10FFFF}, but not including @schemevalfont{#xD800} to
@schemevalfont{#xDFFF}.

View File

@ -9,7 +9,7 @@
@guideintro["numbers"]{numbers}
All numbers are @deftech{complex numbers}. Some of them are
All @deftech{numbers} are @deftech{complex numbers}. Some of them are
@deftech{real numbers}, and all of the real numbers that can be
represented are also @deftech{rational numbers}, except for
@as-index{@scheme[+inf.0]} (positive @as-index{infinity}),

View File

@ -14,14 +14,14 @@
@local-table-of-contents[]
Regular expressions are specified as strings or byte strings, using
the same pattern language as the Unix utility @exec{egrep} or Perl. A
string-specified pattern produces a character regexp matcher, and a
byte-string pattern produces a byte regexp matcher. If a character
regexp is used with a byte string or input port, it matches UTF-8
encodings (see @secref["encodings"]) of matching character streams;
if a byte regexp is used with a character string, it matches bytes in
the UTF-8 encoding of the string.
@deftech{Regular expressions} are specified as strings or byte
strings, using the same pattern language as the Unix utility
@exec{egrep} or Perl. A string-specified pattern produces a character
regexp matcher, and a byte-string pattern produces a byte regexp
matcher. If a character regexp is used with a byte string or input
port, it matches UTF-8 encodings (see @secref["encodings"]) of
matching character streams; if a byte regexp is used with a character
string, it matches bytes in the UTF-8 encoding of the string.
Regular expressions can be compiled into a @defterm{regexp value} for
repeated matches. The @scheme[regexp] and @scheme[byte-regexp]