Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

continued work

  • Loading branch information...
commit e6fddcb99e45f025d7b097eccd1c286360cc1215 1 parent 327abd6
@trebb authored
View
2  DATE.tex
@@ -1 +1 @@
-2008-06-30
+2008-07-02
View
2  REVISION.tex
@@ -1 +1 @@
-19
+20
View
4 clqr-arrays.tex
@@ -31,7 +31,7 @@ \subsection{Predicates}
(\FU*{ARRAY-HAS-FILL-POINTER-P} \VAR{ array})}{.}}
{
Return \retval{\T} if \VAR{array} is adjustable/has a fill pointer,
- resp.
+ respectively.
}
\IT{(\FU*{ARRAY-IN-BOUNDS-P} \VAR{array} \Op{\VAR{subscripts}})}
@@ -58,7 +58,7 @@ \subsection{Array Functions}
\kwd{:displaced-to} \xorGOO{\VAR{array}\\\VAR{bool}\DF{\NIL}}{\}}
\Op{\kwd{:displaced-index-offset } \VAR{i}\DF{0}}}{.}}{\}})}
{
- Return fresh, or readjust, resp., \retval{vector or array of
+ Return fresh, or readjust, respectively, \retval{vector or array of
dimension(s) \VAR{dim}}.
}
View
18 clqr-characters.tex
@@ -14,9 +14,9 @@ \section{Characters}
\begin{LIST}{1cm}
\IT{\arrGOO{(\FU*{CHARACTERP} \VAR{ foo})\\
- (\FU*{STANDARD-CHAR-P} \VAR{ char})}{.}}
+ (\FU*{STANDARD-CHAR-P} \VAR{ char})}{\}}}
{
- Return \retval{\T} if \VAR{foo} is of indicated type.
+ \retval{\T} if \VAR{foo} is of indicated type.
}
\IT{\arrGOO{(\FU*{GRAPHIC-CHAR-P} \VAR{ char})\\
@@ -24,7 +24,7 @@ \section{Characters}
(\FU*{ALPHANUMERICP} \VAR{ char})}{.}}
{
\retval{\T} if \VAR{char} is visible, alphabetic, or
- alphanumeric, resp.
+ alphanumeric, respectively.
}
\IT{\arrGOO{(\FU*{UPPER-CASE-P} \VAR{ char})\\
@@ -32,7 +32,7 @@ \section{Characters}
(\FU*{BOTH-CASE-P} \VAR{ char})}{.}}
{
Return \retval{\T} if \VAR{char} is uppercase, lowercase, or
- able to be in another case, resp.
+ able to be in another case, respectively.
}
\IT{(\FU*{DIGIT-CHAR-P} \VAR{char} \VAR{radix}\DF{10})}
@@ -46,7 +46,7 @@ \section{Characters}
character}})}{.}}
{
Return \retval{\T} if all \VAR{character}s, or
- none, resp., are equal.
+ none, respectively, are equal.
}
\IT{\arrGOO{(\FU*{CHAR-EQUAL}\RP{\VAR{
@@ -54,7 +54,7 @@ \section{Characters}
character}})}{.}}
{
Return \retval{\T} if all \VAR{character}s, or
- none, resp., are equal ignoring case.
+ none, respectively, are equal ignoring case.
}
\IT{\arrGOO{(\FU{CHAR\boldmath$>$}\RP{\VAR{
@@ -69,7 +69,7 @@ \section{Characters}
\index{char<=@CHAR$<=$}%
Return \retval{\T} if \VAR{character}s are
monotonically decreasing, monotonically non-increasing, monotonically
- increasing, or monotonically non-decreasing, resp.
+ increasing, or monotonically non-decreasing, respectively.
}
\IT{\arrGOO{
@@ -80,13 +80,13 @@ \section{Characters}
{
Return \retval{\T} if \VAR{character}s are
monotonically decreasing, monotonically non-increasing, monotonically
- increasing, or monotonically non-decreasing, resp., ignoring case.
+ increasing, or monotonically non-decreasing, respectively, ignoring case.
}
\IT{\arrGOO{(\FU*{CHAR-UPCASE} \VAR{ character})\\
(\FU*{CHAR-DOWNCASE} \VAR{ character})}{.}}
{
- Return corresponding uppercase/lowercase \retval{character}, resp.
+ Return corresponding uppercase/lowercase \retval{character}, respectively.
}
\IT{(\kwd*{CHAR-INT} \VAR{character})}
View
32 clqr-clos.tex
@@ -18,7 +18,7 @@ \subsection{Classes}
\begin{LIST}{1cm}
\IT{(\GFU*{MAKE-INSTANCE} \VAR{class} \Goos{\kwd{:}\VAR{initarg}
- \VAR{value}} \OPn{\kwd{:}\VAR{other-key}})}
+ \VAR{value}} \OPn{\VAR{other-keyarg}})}
{
Make new \retval{instance of \VAR{class}}.
}
@@ -74,7 +74,7 @@ \subsection{Classes}
\orGOO{\Goos{\kwd{:reader} \VAR{reader-fu}}\\
\Goos{\kwd{:writer} \VAR{writer-fu}} \\
\Goos{\kwd{:accessor} \VAR{reader-fu}} \\
- \kwd{:allocation} \Goo{\kwd{:instance}\XOR\kwd{:class}}\\
+ \kwd{:allocation } \Goo{\kwd{:instance}\XOR\kwd{:class}}\\
\Goos{\kwd{:initarg} \kwd{:}\VAR{arg}} \\
\kwd{:initform} \VAR{ form}\\
\kwd{:type} \VAR{ type}\\
@@ -93,20 +93,20 @@ \subsection{Classes}
}
\IT{(\GFU*{UPDATE-INSTANCE-FOR-DIFFERENT-CLASS} \VAR{previous}
- \VAR{current} \Op{\VAR{initargs}} \Op{\VAR{keyargs}})}
+ \VAR{current} \Op{\VAR{initargs}} \OPn{\VAR{other-keyarg}})}
{
Called by \kwd{change-class}.
}
\IT{(\GFU*{UPDATE-INSTANCE-FOR-REDEFINED-CLASS} \VAR{instances}
\VAR{added-slots} \VAR{discarded-slots} \VAR{property-list
- \Op{\VAR{initargs}} \Op{\VAR{other-args}}})}
+ \Op{\VAR{initargs}} \OPn{\VAR{other-keyarg}}})}
{
Called by \kwd{make-instances-obsolete}.
}
\IT{(\GFU*{SHARED-INITIALIZE} \VAR{instance} \VAR{slots}
- \Op{\VAR{init-args}} \Op{\VAR{other-keyargs}})}
+ \Op{\VAR{init-args}} \OPn{\VAR{other-keyarg}})}
{
Used to fill \VAR{instance}'s \VAR{slots} using \VAR{init-args} and
\kwd{:initform} forms.
@@ -166,7 +166,7 @@ \subsection{Generic Functions}
\xorGOO{\VAR{name}\\ (\kwd{setf} \VAR{ name})}{\}}
\orGOO{%
\kwd{:argument-precendence-order}\RP{\VAR{ arg}}\\
- \kwd{:declare}\RP{(\kwd{optimize}\OPn{\VAR{ arg}})}\\
+ \kwd{:declare }\RP{(\kwd{optimize}\OPn{\VAR{ arg}})}\\
\kwd{:documentation} \VAR{ string}\\
\kwd{:environment} \VAR{ environment}\\
\kwd{:generic-function-class} \VAR{ class}\\
@@ -192,22 +192,22 @@ \subsection{Generic Functions}
\VAR{var})}
\OP{\VAR{init}\Op{\VAR{supplied-p}}})}
\Op{\kwd*{\&allow-other-keys}}}
- \OP{\kwd*{\&aux}\Goos{\VAR{var}\XOR(\VAR{var} \Op{\VAR{init}})}})
+ \OP{\kwd*{\&aux }\Goos{\VAR{var}\XOR(\VAR{var} \Op{\VAR{init}})}})
\orGOO{\OPn{(\kwd{declare} \OPn{\VAR{ decl}})}\\
\VAR{documentation}}{\}}
\OPn{\VAR{form}})}
{
Define \retval{new method} for generic function
\VAR{bar}. \VAR{spec-var}s specialize to either being of \VAR{class}
- or being \kwd{eql} \VAR{foo}, resp. On invocation, \VAR{var}s and
+ or being \kwd{eql} \VAR{foo}, respectively On invocation, \VAR{var}s and
\VAR{spec-var}s of the \retval{new method}
act like parameters of a function with body \VAR{foo}.
}
\IT{(\xorGOO{\GFU*{ADD-METHOD}\\
- \GFU*{REMOVE-METHOD}}{\}}\VAR{generic-function} \VAR{method})}
+ \GFU*{REMOVE-METHOD}}{\}} \VAR{generic-function} \VAR{method})}
{
- Add, or remove, resp., \VAR{method} from \retval{\VAR{generic-function}}.
+ Add, or remove, respectively, \VAR{method} from \retval{\VAR{generic-function}}.
}
\IT{(\FU*{CALL-NEXT-METHOD} \Op{\VAR{args}\DF{current args}})}
@@ -222,8 +222,8 @@ \subsection{Generic Functions}
Called on invocation of \VAR{generic-function} if there is no applicable method.
}
- \IT{(\xorGOO{(\FU*{INVALID-METHOD-ERROR} \VAR{ method}\\
- \FU*{METHOD-COMBINATION-ERROR})}{\}}%
+ \IT{(\xorGOO{\FU*{INVALID-METHOD-ERROR} \VAR{ method}\\
+ \FU*{METHOD-COMBINATION-ERROR}}{\}}
\VAR{control} \OPn{\VAR{arg}})}
{
Signal \kwd{error} on applicable method, or on method combination,
@@ -304,7 +304,7 @@ \subsection{Method Combination Types}
\kwd{:identity-with-one-argument} \VAR{ bool}\DF{\NIL}\\
\kwd{:operator} \VAR{ operator}\DF{\VAR{name}}}{\}})}
{
- (Short form.) Define new method combination type
+ Short form. Define new method combination type
\retval{\VAR{c-type}}. A call to a generic function using
\VAR{c-type} is equivalent to (\VAR{c-type}
\OPn{\VAR{applicable-method}}).
@@ -316,16 +316,16 @@ \subsection{Method Combination Types}
\GOOp{\VAR{list}\XOR\kwd{*}}\\
\VAR{predicate}}{\}} \orGOO{%
\kwd{:description} \VAR{ control}\\
- \kwd{:order}
+ \kwd{:order }
\Goo{\kwd{:most-specific-first}\XOR\kwd{:most-specific-last}}\\
\kwd{:required} \VAR{ bool}}{\}}})
\Op{\kwd{:arguments} (\OPn{\VAR{method-combination-arg}})}
\Op{\kwd{:generic-function} \VAR{ symbol}}
\orGOO{\OPn{(\kwd{declare} \OPn{\VAR{ decl}})}\\
- \VAR{documentation}}{\}}%
+ \VAR{documentation}}{\}}
\OPn{\VAR{body}})}
{
- (Long form.) A call to a generic function using \VAR{c-type} is
+ Long form. A call to a generic function using \VAR{c-type} is
equivalent to a call to the forms returned by \VAR{body}. Lambda
list (\OPn{\VAR{fu-arg}}) and (\OPn{\VAR{method-combination-arg}})
according to \VAR{fu-arg} on p.\ \pageref{section:Functions}, the
View
28 clqr-compiler.tex
@@ -104,7 +104,7 @@ \subsection{Compilation}
{
Evaluate \VAR{form}s returning \retval{values of last \VAR{form}} if
\SF{EVAL-WHEN} is in the top-level of a file being compiled, in the
- top-level of a compiled file being loaded, or anywhere, resp.
+ top-level of a compiled file being loaded, or anywhere, respectively
}
\IT{(\kwd*{WITH-COMPILATION-UNIT} (\Op{\kwd{:override}
@@ -147,7 +147,7 @@ \subsection{Compilation}
\Op{\VAR{environment}})}{.}}
{
Return specified \retval{macro function}, or \retval{compiler macro
- function}, resp., if any. Return \retval{\NIL}
+ function}, respectively, if any. Return \retval{\NIL}
otherwise. \kwd{setf}able.
}
@@ -165,21 +165,13 @@ \subsection{REPL and Debugging}
\begin{LIST}{1cm}
- \IT{\Goo{\kwd*{*}\XOR\kwd*{**}\XOR\V*{***}}}
+ \IT{\arrGOO{\kwd*{+}\XOR\kwd*{++}\XOR\V*{+++}\\[1pt]
+ \kwd*{*}\XOR\kwd*{**}\XOR\V*{***}\\[1pt]
+ \kwd*{/}\XOR\kwd*{//}\XOR\V*{///}}{.}}
{
- Most recent primary result or the two preceding primary results,
- resp., printed in the REPL.
- }
-
- \IT{\Goo{\kwd*{+}\XOR\kwd*{++}\XOR\V*{+++}}}
- {
- Forms most recently evaluated in the REPL.
- }
-
- \IT{\Goo{\kwd*{/}\XOR\kwd*{//}\XOR\V*{///}}}
- {
- List of most recent results or of the two preceding results, resp.,
- printed in the REPL.
+ Last, penultimate, or antepenultimate form evaluated in the REPL, or
+ their respective primary values, or lists of their respective
+ values.
}
\IT{\kwd*{--}}
@@ -210,7 +202,7 @@ \subsection{REPL and Debugging}
\IT{(\xorGOO{\SF*{MACROEXPAND-1}\\
\SF*{MACROEXPAND}}{\}}\VAR{form} \Op{\VAR{environment}})}
{
- Return \retval{macro expansion}, once or entirely, resp., of
+ Return \retval{macro expansion}, once or entirely, respectively, of
\VAR{form} and \retvalii{\T} if \VAR{form} is a macro form.
Return \retval{\VAR{form}} and \retvalii{\NIL} otherwise.
}
@@ -340,7 +332,7 @@ \subsection{Declarations}
\IT{\arrGOO{(\kwd*{INLINE} \OPn{\VAR{ function}})\\
(\kwd*{NOTINLINE} \OPn{\VAR{ function}})}{\}}}
{
- Tell compiler to integrate/not to integrate, resp., called
+ Tell compiler to integrate/not to integrate, respectively, called
\VAR{function}s into the calling routine.
}
View
58 clqr-conditions-and-errors.tex
@@ -20,15 +20,13 @@ \section{Conditions and Errors}
\boxGOO{%
\kwd*{WARNING}
\boxGOO{%
- \kwd*{STYLE-WARNING}}\\
- \kwd*{SIMPLE-CONDITION}
- \boxGOO{%
- \kwd*{SIMPLE-WARNING}\\
- \kwd*{SIMPLE-TYPE-ERROR}\\
- \kwd*{SIMPLE-ERROR}}\\
+ \kwd*{STYLE-WARNING}\\
+ \kwd*{SIMPLE-CONDITION}\footnotemark[2]
+ \boxGOO{%
+ \kwd*{SIMPLE-WARNING}}}\\
\kwd*{SERIOUS-CONDITION}\\
\boxGOO{%
- \kwd*{ERROR}
+ \kwd*{ERROR}\\
\boxGOO{%
\kwd*{CELL-ERROR}
\boxGOO{%
@@ -40,7 +38,6 @@ \section{Conditions and Errors}
\kwd*{END-OF-FILE}\\
\kwd*{PARSE-ERROR}\footnotemark[2]
\boxGOO{\kwd*{READER-ERROR}}}\\
- \kwd*{PARSE-ERROR}\footnotemark[2]\\
\kwd*{ARITHMETIC-ERROR}\\
\boxGOO{%
\kwd*{DIVISION-BY-ZERO}\\
@@ -48,13 +45,22 @@ \section{Conditions and Errors}
\kwd*{FLOATING-POINT-INVALID-OPERATION}\\
\kwd*{FLOATING-POINT-OVERFLOW}\\
\kwd*{FLOATING-POINT-UNDERFLOW}}\\
+ \kwd*{TYPE-ERROR}
+ \boxGOO{%
+ \kwd*{SIMPLE-CONDITION}\footnotemark[2]
+ \boxGOO{%
+ \kwd*{SIMPLE-TYPE-ERROR}}}\\
+ \kwd*{SIMPLE-CONDITION}\footnotemark[2]
+ \boxGOO{%
+ \kwd*{SIMPLE-ERROR}}\\
+ \kwd*{PARSE-ERROR}\footnotemark[2]\\
\kwd*{PROGRAM-ERROR}\\
\kwd*{CONTROL-ERROR}\\
\kwd*{PACKAGE-ERROR}\\
- \kwd*{TYPE-ERROR}\\
\kwd*{FILE-ERROR}\\
\kwd*{PRINT-NOT-READABLE}}\\
- \kwd*{STORAGE-CONDITION}}}}}\\
+ \kwd*{STORAGE-CONDITION}}\\
+ \kwd*{SIMPLE-CONDITION}\footnotemark[2]}}}\\
\end{center}\vspace{-1em}
{\footnotesize\footnotemark[2]Multiply defined}
\caption{Condition Types.}%
@@ -67,11 +73,11 @@ \section{Conditions and Errors}
\orGOO{\Goos{\kwd{:reader} \VAR{reader-fu}}\\
\Goos{\kwd{:writer} \VAR{writer-fu}} \\
\Goos{\kwd{:accessor} \VAR{reader-fu}} \\
- \kwd{:allocation} \Goo{\kwd{:instance}\XOR\VAR{class}}\\
+ \kwd{:allocation } \Goo{\kwd{:instance}\XOR\VAR{class}}\\
\Goos{\kwd{:initarg} \kwd{:}\VAR{arg}}\\
\kwd{:initform} \VAR{ form}\\
\kwd{:type} \VAR{ type}}{\}})}{\}})
- \orGOO{(\kwd{:default-initargs} \Goos{\VAR{name} \VAR{value}})\\
+ \orGOO{(\kwd{:default-initargs } \Goos{\VAR{name} \VAR{value}})\\
({\kwd{:documentation} \VAR{ string}})\\
(\kwd{:report} \VAR{ report-name})}{\}})}
{
@@ -83,15 +89,17 @@ \section{Conditions and Errors}
Return \retval{new condition of \VAR{type}}.
}
- \IT{(\FU*{UNWIND-PROTECT} \VAR{protected-form} \VAR{cleanup-form})}
+ \IT{(\FU*{UNWIND-PROTECT} \VAR{protected} \VAR{cleanup})}
{
- Evaluate \VAR{protected-form} and then, no matter how control leaves \VAR{protected-form}, \VAR{cleanup-form}. Return \retval{value of \VAR{protected-form}}.
+ Evaluate \VAR{protected} and then, no matter how control leaves
+ \VAR{protected}, \VAR{cleanup}. Return \retval{value of
+ \VAR{protected}}.
}
\IT{(\xorGOO{\FU*{SIGNAL}\\
\FU*{WARN}}{\}} \VAR{datum} \OPn{\VAR{arg}})}
{
- Signal \kwd{condition} or \kwd{warning}, resp.,
+ Signal \kwd{condition} or \kwd{warning}, respectively,
as denoted by \VAR{datum} and \VAR{arg}s. Return \retval{\NIL}.
}
@@ -119,8 +127,8 @@ \section{Conditions and Errors}
Invoke debugger with \VAR{condition}.
}
- \IT{(\SF*{ASSERT} \VAR{test} \OP{(\OPn{\VAR{place}})\Op{\VAR{datum}
- \OPn{\VAR{arg}}})}}
+ \IT{(\SF*{ASSERT} \VAR{test} \OP{(\OPn{\VAR{place}}) \Op{\VAR{datum}
+ \OPn{\VAR{arg}}}})}
{
Signal correctable error denoted by \VAR{datum} and \VAR{arg}s if
\VAR{test}, which may depend on \VAR{place}s, returns \NIL. Return
@@ -154,7 +162,7 @@ \section{Conditions and Errors}
{
If \VAR{restart} is not called from \VAR{form}s, return
\retval{values of last \VAR{form}}. Otherwise return \retval{\NIL}
- and \retval{\T} and report restart using \kwd{format} \VAR{control}
+ and \retvalii{\T} and describe restart using \kwd{format} \VAR{control}
and \VAR{arg}s (see p.\ \pageref{section:Format}).
}
@@ -174,8 +182,8 @@ \section{Conditions and Errors}
\OPn{form})})}
{
Evaluate \VAR{test} with new restarts \VAR{name}. Return
- \retval{value of \VAR{test}} or, if any of the restarts is invoked,
- return \retval{value of its last \VAR{form}}.
+ \retval{values of \VAR{test}} or, if any of the restarts is invoked,
+ return \retval{values of its last \VAR{form}}.
For \VAR{fu-arg}s see p.\ \pageref{section:Functions}.
}
@@ -193,14 +201,14 @@ \section{Conditions and Errors}
(\FU*{INVOKE-RESTART-INTERACTIVELY} \VAR{ restart})}{.}}
{
Call function associated with \VAR{restart} with arguments given or
- prompted for, resp. If restart function returns, return \retval{its values}.
+ prompted for, respectively If restart function returns, return \retval{its values}.
}
\IT{(\xorGOO{\FU*{COMPUTE-RESTARTS}\\
\FU*{FIND-RESTART} \VAR{ name}}{\}} \Op{\VAR{condition}})}
{
Return list of \retval{all restarts}, or innermost \retval{restart}
- \VAR{name}, resp., out of those either associated
+ \VAR{name}, respectively, out of those either associated
with \VAR{condition} or un-associated at all; or, without
\VAR{condition}, out of all restarts. Return \retval{\NIL} if search
is unsuccessful.
@@ -252,7 +260,7 @@ \section{Conditions and Errors}
\IT{(\FU*{PRINT-NOT-READABLE-OBJECT} \VAR{condition})}
{
- The \retval{object} unprintable under \VAR{condition}.
+ The \retval{object} not readably printable under \VAR{condition}.
}
\IT{(\FU*{FILE-ERROR-PATHNAME} \VAR{condition})}
@@ -268,14 +276,14 @@ \section{Conditions and Errors}
\IT{\arrGOO{(\FU*{TYPE-ERROR-DATUM} \VAR{ condition})\\
(\FU*{TYPE-ERROR-EXPECTED-TYPE} \VAR{ condition})}{.}}
{
- \retval{Datum} which caused \VAR{condition}, or its expected type, resp.
+ \retval{Datum} which caused \VAR{condition}, or its expected type, respectively
}
\IT{\arrGOO{(\FU*{SIMPLE-CONDITION-FORMAT-CONTROL} \VAR{ condition})\\
(\FU*{SIMPLE-CONDITION-FORMAT-ARGUMENTS} \VAR{ condition})}{.}}
{
Return \retval{\kwd{format} control} or list of \retval{\kwd{format}
- arguments}, resp., of \VAR{condition}.
+ arguments}, respectively, of \VAR{condition}.
}
\IT{\V*{*break-on-signals*}\DF{\NIL}}
View
36 clqr-conses.tex
@@ -150,7 +150,7 @@ \subsection{Lists}
\IT{(\xorGOO{\FU*{RPLACA}\\
\FU*{RPLACD}}{\}} \VAR{cons} \VAR{object})}
{
- Replace car, or cdr, resp., of \retval{\VAR{cons}} with \VAR{object}.
+ Replace car, or cdr, respectively, of \retval{\VAR{cons}} with \VAR{object}.
}
\IT{(\FU*{LDIFF} \VAR{list} \VAR{foo})}
@@ -197,7 +197,7 @@ \subsection{Lists}
\OPn{\VAR{ list}})}{.}}
{
Return \retval{concatenated list}. \VAR{list}s are unmodified/possibly
- modified, resp.
+ modified, respectively.
}
\IT{\arrGOO{(\FU*{REVAPPEND} \VAR{ list} \VAR{ foo})\\(\FU*{NRECONC}
@@ -205,15 +205,15 @@ \subsection{Lists}
{
Return \retval{concatenated list} after reversing order in
\VAR{list}. \VAR{list} is unmodified/possibly
- modified, resp.
+ modified, respectively.
}
\IT{(\xorGOO{\FU*{MAPCAR}\\
\FU*{MAPLIST}}{\}} \VAR{function} \RP{\VAR{list}})}
{
Return \retval{list of return values} of \VAR{function} successively
- invoked with corresponding arguments, either cars or cdrs, resp.,
- from each list.
+ invoked with corresponding arguments, either cars or cdrs, respectively,
+ from each \VAR{list}.
}
\IT{(\xorGOO{\FU*{MAPCAN}\\
@@ -222,8 +222,8 @@ \subsection{Lists}
Return list of
\retval{concatenated return values} of
\VAR{function} successively invoked with corresponding arguments,
- either cars or cdrs, resp.,
- from each list. \VAR{function} should return a list.
+ either cars or cdrs, respectively,
+ from each \VAR{list}. \VAR{function} should return a list.
}
\IT{(\xorGOO{\FU*{MAPC}\\
@@ -231,7 +231,7 @@ \subsection{Lists}
{
Return \retval{first \VAR{list}} after successively applying
\VAR{function} to corresponding arguments, either cars or cdrs,
- resp., from each list. \VAR{function} should have some side
+ respectively, from each \VAR{list}. \VAR{function} should have some side
effects.
}
@@ -272,7 +272,7 @@ \subsection{Association Lists}
\FU*{RASSOC-IF-NOT}}{\}}\VAR{test} \VAR{ a-list }%
\Op{\kwd{:key} \VAR{ function}})}{\}}}
{
- First \retval{cons} whose car, or cdr, resp., satisfies \VAR{test}.
+ First \retval{cons} whose car, or cdr, respectively, satisfies \VAR{test}.
}
\IT{(\FU*{COPY-ALIST} \VAR{a-list})}
@@ -302,8 +302,8 @@ \subsection{Trees}
\kwd{:test-not} \VAR{ function}}{\}})}
{
Make \retval{copy of
- \VAR{tree}} with all subtrees or leaves of \VAR{old} replaced by
- \VAR{new}. \VAR{tree} is unmodified/possibly modified, resp.
+ \VAR{tree}} with each subtree or leave of \VAR{old} replaced by
+ \VAR{new}. \VAR{tree} is unmodified/possibly modified, respectively.
}
\IT{(\xorGOO{\FU{SUBST-IF\Op{-NOT}}\\\FU{NSUBST-IF\Op{-NOT}}}{\}}
@@ -315,9 +315,9 @@ \subsection{Trees}
\index{NSUBST-IF}%
\index{NSUBST-IF-NOT}%
Make \retval{copy of
- \VAR{tree}} with all subtrees or leaves
- satisfying test or not satisfying test, resp., replaced by
- \VAR{new}. \VAR{sequence} is unmodified/possibly modified, resp.
+ \VAR{tree}} with each subtree or leave
+ satisfying test or not satisfying test, respectively, replaced by
+ \VAR{new}. \VAR{sequence} is unmodified/possibly modified, respectively.
}
\IT{(\xorGOO{\FU*{SUBLIS}\\
@@ -326,9 +326,9 @@ \subsection{Trees}
\kwd{:test} \VAR{ function}\\
\kwd{:test-not} \VAR{ function}}{\}})}
{
- Make \retval{copy of \VAR{tree}} with all subtrees or leaves matching
+ Make \retval{copy of \VAR{tree}} with each subtree or leave matching
a key in \VAR{a-list} replaced by that key's object from \VAR{a-list}.
- \VAR{sequence} is unmodified/possibly modified, resp.
+ \VAR{sequence} is unmodified/possibly modified, respectively.
}
\IT{(\FU*{COPY-TREE} \VAR{tree})}
@@ -354,8 +354,8 @@ \subsection{Sets}
\kwd{:key} \VAR{ function}}{\}})}
{
Return \retval{$a\cup b$}, \retval{$a\cap b$}, \retval{$a\setminus b$}, or
- \retval{$a\,\triangle\, b$}, resp., of lists \VAR{a} and \VAR{b}. Work
- non-destructively/destructively, resp.
+ \retval{$a\,\triangle\, b$}, respectively, of lists \VAR{a} and \VAR{b}. Work
+ non-destructively/destructively, respectively.
}
\end{LIST}
View
62 clqr-control-structure.tex
@@ -98,15 +98,15 @@ \subsection{Variables}
\IT{(\xorGOO{\SF*{SETF}\\\SF*{PSETF}}{\}} \Goos{\VAR{place}
\VAR{value}})}
{
- Set \VAR{place}s to \retval{\VAR{value}s}, resp. Work sequentially/in
- parallel, resp.
+ Set \VAR{place}s to \retval{\VAR{value}s}, respectively. Work sequentially/in
+ parallel, respectively.
}
\IT{(\xorGOO{\SF*{SETQ}\\\SF*{PSETQ}}{\}} \Goos{\VAR{symbol}
\VAR{value}})}
{
- Set \VAR{symbol}s to \retval{\VAR{value}s}, resp. Work sequentially/in
- parallel, resp.
+ Set \VAR{symbol}s to \retval{\VAR{value}s}, respectively. Work sequentially/in
+ parallel, respectively.
}
\IT{(\FU*{SET} \VAR{symbol} \VAR{foo})}
@@ -144,7 +144,7 @@ \subsection{Variables}
\OP{\VAR{default}\DF{\NIL}})}{.}}
{
\retval{First entry \VAR{key}} from property list stored in
- \VAR{symbol}/in \VAR{place}, resp., or \retval{\VAR{default}} if
+ \VAR{symbol}/in \VAR{place}, respectively, or \retval{\VAR{default}} if
there was no \VAR{key}. \kwd{setf}able.
}
@@ -160,7 +160,7 @@ \subsection{Variables}
(\SF*{REMF} \VAR{ place} \VAR{ key})}{.}}
{
Remove fist entry \VAR{key} from property list stored in
- \VAR{symbol}/in \VAR{place}, resp. Return \retval{\T} if \VAR{key}
+ \VAR{symbol}/in \VAR{place}, respectively. Return \retval{\T} if \VAR{key}
was there, or \retval{\NIL} otherwise.
}
@@ -193,7 +193,7 @@ \subsection{Functions}
\OPn{\VAR{form}})}
{
Define function with \retval{name \VAR{foo}} or an anonymous
- function, resp., which
+ function, respectively, which
applies \VAR{form}s to \VAR{fu-arg}s.
}
@@ -284,7 +284,7 @@ \subsection{Functions}
\CNS*{LAMBDA-PARAMETERS-LIMIT}}{.}}
{
Upper bound of the number of function arguments or lambda list
- parameters, resp.; $\geq50$.
+ parameters, respectively; $\geq50$.
}
\IT{\CNS*{MULTIPLE-VALUES-LIMIT}}
@@ -419,7 +419,7 @@ \subsection{Control Flow}
\OPn{\VAR{foo}})}
{
Evaluate \VAR{foo}s and return \retval{values of last \VAR{foo}} if
- \VAR{test} returns \T\ or \NIL, resp. Return \retval{\NIL} otherwise.
+ \VAR{test} returns \T\ or \NIL, respectively. Return \retval{\NIL} otherwise.
}
\IT{(\SF*{CASE} \VAR{object} \OPn{(\RP{\VAR{key}}\OPn{\VAR{foo}})}
@@ -436,7 +436,7 @@ \subsection{Control Flow}
Evaluate first \VAR{foo}s whose unevaluated \VAR{key} is \kwd{eql} evaluated
\VAR{object}. Return \retval{value of last evaluated
\VAR{foo}}. Signal correctible error/non-correctible error,
- resp., if no \VAR{key} matches and return \retval{\NIL} then.
+ respectively, if no \VAR{key} matches and return \retval{\NIL} then.
}
\IT{(\SF*{AND} \OPn{\VAR{form}})}
@@ -477,7 +477,8 @@ \subsection{Control Flow}
(\SF*{PROG1} \VAR{ form-r} \OPn{\VAR{ form}})\\
(\SF*{PROG2} \VAR{ form-a} \VAR{ form-r} \OPn{\VAR{ form}})}{.}}
{
- Evaluate all forms in order. Return \retval{values/1st value of \VAR{form-r}}.
+ Evaluate all forms in order. Return \retval{values/1st value},
+ respectively, of \VAR{form-r}.
}
\IT{(\SF*{PROGV} \VAR{symbols} \VAR{values} \OPn{\VAR{form}})}
@@ -589,7 +590,7 @@ \subsection{Iteration}
{
Evaluate \SF{TAGBODY}-like body with \VAR{var}s successively bound according
to the values of the corresponding \VAR{start} and \VAR{step}
- forms. \VAR{var}s are bound in parallel/sequentially, resp.
+ forms. \VAR{var}s are bound in parallel/sequentially, respectively.
Stop iteration when \VAR{stop} is \T. Return \retval{value of
last \VAR{result}}.
}
@@ -905,7 +906,7 @@ \subsection{Loop Facility}
\IT{\Goo{\LKWD*{initially}\XOR\LKWD*{finally}} \RP{\VAR{form}}}
{
- Evaluate \VAR{form}s before begin, or after end, resp., of iterations.
+ Evaluate \VAR{form}s before begin, or after end, respectively, of iterations.
}
\IT{\Goo{\LKWD*{for}\XOR\LKWD*{as}} \VAR{var} \VAR{type}}
@@ -929,7 +930,7 @@ \subsection{Loop Facility}
\IT{\Goo{\LKWD*{in}\XOR\LKWD*{on}} \VAR{list}}
{
- Bind \VAR{var} to successive elements/tails, resp., of \VAR{list}.
+ Bind \VAR{var} to successive elements/tails, respectively, of \VAR{list}.
}
\IT{\LKWD*{by} \VAR{step}\DF{1}}
@@ -970,7 +971,7 @@ \subsection{Loop Facility}
\IT{\Goo{\LKWD*{symbol}\XOR\LKWD*{symbols}\XOR\LKWD*{present-symbol}\XOR\LKWD*{present-symbols}\XOR\LKWD*{external-symbol}\XOR\LKWD*{external-symbols}}\Op{\Goo{\LKWD*{of}\XOR\LKWD*{in}}
\VAR{package}}}
{
- Bind \VAR{var} successively to the symbols, or the present symbols, or the external symbols, resp., of \VAR{package}.
+ Bind \VAR{var} successively to the symbols, or the present symbols, or the external symbols, respectively, of \VAR{package}.
}
\end{LIST}
@@ -986,34 +987,40 @@ \subsection{Loop Facility}
Evaluate \VAR{form}s in every iteration.
}
+ \IT{\LKWD*{it}}
+ {
+ Value of the test form of an enclosing \LKWD{if}, \LKWD{when},
+ or \LKWD{unless} clause.
+ }
+
\IT{\LKWD*{return} \Goo{\VAR{form}\XOR\LKWD*{it}}}
{
- Return immediately with return value \VAR{form}.
+ Return immediately with value of \VAR{form} or \LKWD{it}.
}
\IT{\Goo{\LKWD*{collect}\XOR\LKWD*{collecting}}\Goo{\VAR{form}\XOR\LKWD*{it}}\Op{\LKWD*{into} \VAR{list}}}
{
- Collect values of \VAR{form} into \VAR{list}. If no \VAR{list} is given, collect into an anonymous list
+ Collect values of \VAR{form} or \LKWD{it} into \VAR{list}. If no \VAR{list} is given, collect into an anonymous list
which is returned after termination.
}
\IT{\Goo{\LKWD*{append}\XOR\LKWD*{appending}\XOR\LKWD*{nconc}\XOR\LKWD*{nconcing}}\Goo{\VAR{form}\XOR\LKWD*{it}}\Op{\LKWD*{into}
\VAR{list}}}
{
- Concatenate values of \VAR{form}, which must be lists, into \VAR{list} by the means of \FU{append}
- or \FU{nconc}, resp. If no \VAR{list} is given, collect into an anonymous list
+ Concatenate values of \VAR{form} or \LKWD{it}, which must be lists, into \VAR{list} by the means of \FU{append}
+ or \FU{nconc}, respectively. If no \VAR{list} is given, collect into an anonymous list
which is returned after termination.
}
\IT{\Goo{\LKWD*{count}\XOR\LKWD*{counting}}\Goo{\VAR{form}\XOR\LKWD*{it}}\Op{\LKWD*{into}
\VAR{n}}}
{
- Count the number of times \VAR{form} returns \T.
+ Count the number of times \VAR{form} or \LKWD{it} returns \T.
}
\IT{\Goo{\LKWD*{sum}\XOR\LKWD*{summing}}\Goo{\VAR{form}\XOR\LKWD*{it}}\Op{\LKWD*{into} \VAR{sum}}}
{
- Calculate the sum of the values of \VAR{form}.
+ Calculate the sum of the values of \VAR{form} or of \LKWD{it}.
}
\IT{\Goo{\LKWD*{maximize}\XOR\LKWD*{maximizing}\XOR
@@ -1021,8 +1028,8 @@ \subsection{Loop Facility}
\LKWD*{minimizing}}\Goo{\VAR{form}\XOR\LKWD*{it}}\Op{\LKWD*{into}
\VAR{max-min}}}
{
- Determine the maximum or minimum, resp., of all values of
- \VAR{form}.
+ Determine the maximum or minimum, respectively, of all values of
+ \VAR{form} or of \LKWD{it}.
}
\IT{\Goo{\LKWD*{if}\XOR\LKWD*{when}\XOR\LKWD*{unless}}\VAR{ test}
@@ -1030,7 +1037,7 @@ \subsection{Loop Facility}
\VAR{form-j}}\Op{\LKWD*{else} \VAR{form-k} \Goos{\LKWD*{and}
\VAR{form-l}}} \Op{\LKWD*{end}}}
{
- If \VAR{test} returns \T, \T, or \NIL, resp., evaluate
+ If \VAR{test} returns \T, \T, or \NIL, respectively, evaluate
\VAR{form-i} and \VAR{form-j}s; otherwise, evaluate \VAR{form-k}
and \VAR{form-l}s. Inside \VAR{form-i} and \VAR{form-k}, the value
of \VAR{test} is accessible by \LKWD*{it}.
@@ -1043,12 +1050,15 @@ \subsection{Loop Facility}
\IT{\Goo{\LKWD*{while}\XOR\LKWD*{until}} \VAR{test}}
{
- Continue iteriation until \VAR{test} returns \NIL, or \T, resp.
+ Continue iteriation until \VAR{test} returns \NIL, or \T, respectively.
}
\IT{\Goo{\LKWD*{always}\XOR\LKWD{never}} \VAR{test}}
{
- Terminate \SF{loop} returning \NIL\ and skipping any \LKWD*{finally} parts as soon as \VAR{test} is \NIL, or \T, resp. Otherwise continue \SF{loop} with its default return value set to \T.
+ Terminate \SF{loop} returning \NIL\ and skipping any
+ \LKWD*{finally} parts as soon as \VAR{test} is \NIL, or \T,
+ respectively. Otherwise continue \SF{loop} with its default return
+ value set to \T.
}
\IT{\LKWD*{thereis} \VAR{test}}
View
8 clqr-environment.tex
@@ -16,7 +16,7 @@ \section{Environment}
(\FU*{GET-INTERNAL-RUN-TIME})}{.}}
{
\retval{Current time}, or \retval{computing time},
- resp., in clock ticks.
+ respectively, in clock ticks.
}
\IT{\CNS*{INTERNAL-TIME-UNITS-PER-SECOND}}
@@ -60,20 +60,20 @@ \section{Environment}
\IT{\arrGOO{(\FU*{LISP-IMPLEMENTATION-TYPE})\\
(\FU*{LISP-IMPLEMENTATION-VERSION})}{.}}
{
- \retval{Name} or \retval{version}, resp., of implementation.
+ \retval{Name} or \retval{version}, respectively, of implementation.
}
\IT{\arrGOO{(\FU*{SOFTWARE-TYPE})\\
(\FU*{SOFTWARE-VERSION})}{.}}
{
- \retval{Name} or \retval{version}, resp., of host system.
+ \retval{Name} or \retval{version}, respectively, of host system.
}
\IT{\arrGOO{(\FU*{MACHINE-TYPE})\\
(\FU*{MACHINE-VERSION})\\
(\FU*{MACHINE-INSTANCE})}{.}}
{
- \retval{Type}, \retval{version}, or \retval{name}, resp., of
+ \retval{Type}, \retval{version}, or \retval{name}, respectively, of
hardware.
}
View
4 clqr-hash-tables.tex
@@ -69,7 +69,7 @@ \section{Hash Tables}
\IT{(\SF*{WITH-HASH-TABLE-ITERATOR} \VAR{name} \VAR{hash-table}
\OPn{(\kwd{declare} \OPn{\VAR{decl}})} \OPn{\VAR{form}})}
{
- Return \retval{values of \VAR{form}s}. In the body,
+ Return \retval{values of \VAR{form}s}. In \VAR{form}s,
invocations of (\VAR{name}) return: \T\ if an entry is returned;
its key; its value.
}
@@ -79,7 +79,7 @@ \section{Hash Tables}
(\FU*{HASH-TABLE-REHASH-THRESHOLD} \VAR{ hash-table})}{.}}
{
Current \retval{size}, \retval{rehash-size}, or
- \retval{rehash-threshold}, resp., as used in \FU{make-hash-table}.
+ \retval{rehash-threshold}, respectively, as used in \FU{make-hash-table}.
}
\IT{(\FU*{SXHASH} \VAR{foo})} \retval{Hash code} of \VAR{foo}.
View
130 clqr-input-output.tex
@@ -12,7 +12,7 @@ \subsection{Predicates}
(\FU*{PATHNAMEP} \VAR{ foo})\\
(\FU*{READTABLEP} \VAR{ foo})}{\}}}
{
- Return \retval{\T} if \VAR{foo} is of indicated type.
+ \retval{\T} if \VAR{foo} is of indicated type.
}
\IT{\arrGOO{(\FU*{INPUT-STREAM-P} \VAR{ stream})\\
@@ -21,7 +21,7 @@ \subsection{Predicates}
(\FU*{OPEN-STREAM-P} \VAR{ stream})}{.}}
{
Return \retval{\T} if \VAR{stream} is for input, for output,
- interactive, or open, resp.
+ interactive, or open, respectively.
}
\IT{(\FU*{PATHNAME-MATCH-P} \VAR{path} \VAR{wildcard})}
@@ -133,7 +133,7 @@ \subsection{Reader}
}
\IT{(\FU*{READ-SEQUENCE} \VAR{sequence} \VAR{stream}
- \OP{\kwd{:start} \VAR{start}\DF{0}}\Op{\kwd{:end}
+ \Op{\kwd{:start} \VAR{start}\DF{0}}\Op{\kwd{:end}
\VAR{end}\DF{\NIL}})}
{
Replace elements of \VAR{sequence} between \VAR{start} and \VAR{end}
@@ -149,7 +149,7 @@ \subsection{Reader}
\IT{(\FU*{COPY-READTABLE} \VAR{from-readtable}\DF{\kwd{*readtable*}}
\VAR{to}\DF{\NIL})}
{
- Return \retval{Copy of \VAR{from-readtable}}.
+ Return \retval{copy of \VAR{from-readtable}}.
}
\IT{(\FU*{SET-SYNTAX-FROM-CHAR} \VAR{to-char} \VAR{from-char}
@@ -217,14 +217,10 @@ \subsection{Macro Characters}
\begin{LIST}{1cm}
- \IT{\KWD*{;}\OPn{\VAR{comment}}}
+ \IT{\arrGOO{\KWD*{; }\OPn{\VAR{comment}}\\
+ \KWD{\#\boldmath$|$ }\OPn{\VAR{comment}}\KWD{ \boldmath$|$\#}}{\}}}
{
- Rest of line is a comment.
- }
-
- \IT{\KWD{\#\boldmath$|$}\OPn{\VAR{comment}}\KWD{\boldmath$|$\#}}
- {
- Comment.
+ Comments.
}
\IT{\KWD*{(}}
@@ -237,21 +233,18 @@ \subsection{Macro Characters}
Begin and end of a string.
}
- \IT{\KWD*{'}\VAR{foo}}
- {Quote \VAR{foo}.}
-
- \IT{\KWD*{`}\VAR{foo} \KWD*{,}\VAR{bar} \KWD*{,@}\VAR{baz}
- \KWD*{,.}\VAR{quux} \VAR{bing}}
+ \IT{\KWD*{`}\VAR{foo} \Op{\KWD*{,}\VAR{bar}} \Op{\KWD*{,@}\VAR{baz}}
+ \Op{\KWD*{,.}\VAR{quux}} \Op{\VAR{bing}}}
{
- Quote \VAR{foo} and \VAR{bing}; but neither \VAR{bar}, nor the lists
+ \kwd{quote} \VAR{foo} and \VAR{bing}; but neither \VAR{bar} nor the lists
\VAR{baz} and \VAR{quux} which are spliced into their
elements. \VAR{quux} is possibly modified in the process.
}
\IT{\KWD{\#\boldmath{$\backslash$}}\VAR{c}}
{
- \index{\#@\#$\backslash$}%
Character \VAR{c}.
}
+ \index{\#@\#$\backslash$}%
\IT{\KWD*{\#b}, \KWD*{\#o}, \KWD*{\#x}, \KWD{\#}\VAR{n}\KWD{R}}
{
@@ -322,7 +315,7 @@ \subsection{Macro Characters}
\IT{\KWD*{\#P}\VAR{foo}}
{
- Value of \retval{(\kwd{parse-namestring '}\VAR{foo})}.
+ A pathname.
}
\IT{\KWD{\#\boldmath$<$}}
@@ -343,11 +336,6 @@ \subsection{Macro Characters}
otherwise.
}
- \IT{\V*{*read-suppress*}\DF{\NIL}}
- {
- Used by \kwd{\#+} and \kwd{\#--}.
- }
-
\end{LIST}
@@ -367,14 +355,14 @@ \subsection{Printer}
Print \retval{\VAR{foo}} to \VAR{stream} \FU{read}ably,
\FU{read}ably after a newline and followed by a space,
\FU{read}ably after a newline, or human-readably without any extra
- characters, resp.
+ characters, respectively.
}
\IT{\arrGOO{(\FU*{PRIN1-TO-STRING} \VAR{ foo})\\
(\FU*{PRINC-TO-STRING} \VAR{ foo})}{.}}
{
Print \VAR{foo} to \retval{\VAR{string}} \FU{read}ably or
- human-readably, resp.
+ human-readably, respectively.
}
\IT{(\GFU*{PRINT-OBJECT} \VAR{object} \VAR{stream})}
@@ -416,7 +404,7 @@ \subsection{Printer}
{
Write \retval{part of \VAR{string} between \VAR{start} and
\VAR{end}} to \VAR{stream}, without/with a trailing newline,
- resp.
+ respectively.
}
\IT{(\FU*{WRITE-BYTE} \VAR{byte} \VAR{stream})}
@@ -454,7 +442,7 @@ \subsection{Printer}
}{\}})}
{
Print and return \retval{\VAR{foo}}, or print \VAR{foo} into
- \retval{string}, resp., after dynamically setting printer variables
+ \retval{string}, respectively, after dynamically setting printer variables
corresponding to keyword parameters (\kwd{:}\VAR{bar} becoming
\kwd{*print-}\VAR{bar}\kwd{*}). (\kwd{:stream} keyword with \FU{write} only.)
}
@@ -466,7 +454,7 @@ \subsection{Printer}
{
Print \VAR{foo} to \VAR{stream}. If \VAR{foo} is a list, print as
many elements per line as possible; or print either all elements on
- one line or each on its own line, resp. Return \retval{\NIL}.
+ one line or each on its own line, respectively. Return \retval{\NIL}.
}
\IT{(\FU*{PPRINT-TABULAR} \VAR{stream} \VAR{foo}
@@ -561,40 +549,41 @@ \subsection{Printer}
If \T, print pretty.
}
- \IT{\V*{*print-case*}\DF{\kwd{:upcase}}}
+ \IT{\V*{*print-lines*}\DF{\NIL}}
{
- Print symbol names all uppercase (\kwd{:upcase}), all lowercase
- (\kwd{:downcase}), capitalized (\kwd{:capitalize}).
+ Number of lines to pretty-print.
}
- \IT{\V*{*print-readably*}\DF{\NIL}}
+ \IT{\V*{*print-right-margin*}\DF{\NIL}}
{
- If \T, print \FU{read}ably.
+ Right margin width in ems while pretty-printing.
}
- \IT{\V*{*print-array*}}
+ \IT{\V*{*print-miser-width*}}
{
- If \T, print array \FU{read}ably.
+ Width below which a compact pretty-printing style is used.
}
- \IT{\V*{*print-escape*}\DF{\T}}
+ \IT{\V*{*print-case*}\DF{\kwd{:upcase}}}
{
- If \NIL, do not print escape characters and package prefixes.
+ Print symbol names all uppercase (\kwd{:upcase}), all lowercase
+ (\kwd{:downcase}), capitalized (\kwd{:capitalize}).
}
- \IT{\V*{*print-gensym*}\DF{\T}}
+ \IT{\V*{*print-readably*}\DF{\NIL}}
{
- If \T, print \kwd{:\#} before uninterned symbols.
+ If \T, print \FU{read}ably or signal error
+ \kwd{print-not-readable}.
}
- \IT{\V*{*print-radix*}\DF{\NIL}}
+ \IT{\V*{*print-array*}}
{
- If \T, print rationals with a radix indicator.
+ If \T, print array \FU{read}ably.
}
- \IT{\V*{*print-base*}\DF{10}}
+ \IT{\V*{*print-level*}\DF{\NIL}}
{
- Radix for printing rationals, between 2 and 36.
+ If integer, restrict printing of nested object to that depth.
}
\IT{\V*{*print-circle*}\DF{\NIL}}
@@ -603,29 +592,29 @@ \subsection{Printer}
structure.
}
- \IT{\V*{*print-lines*}\DF{\NIL}}
+ \IT{\V*{*print-escape*}\DF{\T}}
{
- Number of lines to pretty-print.
+ If \NIL, do not print escape characters and package prefixes.
}
- \IT{\V*{*print-length*}\DF{\NIL}}
+ \IT{\V*{*print-gensym*}\DF{\T}}
{
- If integer, restrict printing of objects to that number per level.
+ If \T, print \kwd{:\#} before uninterned symbols.
}
- \IT{\V*{*print-level*}\DF{\NIL}}
+ \IT{\V*{*print-radix*}\DF{\NIL}}
{
- If integer, restrict printing of nested object to that depth.
+ If \T, print rationals with a radix indicator.
}
- \IT{\V*{*print-right-margin*}\DF{\NIL}}
+ \IT{\V*{*print-base*}\DF{10}}
{
- Right margin width in ems while pretty-printing.
+ Radix for printing rationals, between 2 and 36.
}
- \IT{\V*{*print-miser-width*}}
+ \IT{\V*{*print-length*}\DF{\NIL}}
{
- Width below which a compact pretty-printing style is used.
+ If integer, restrict printing of objects to that number per level.
}
\IT{\V*{*print-pprint-dispatch*}}
@@ -633,6 +622,11 @@ \subsection{Printer}
Current pretty print dispatch table.
}
+ \IT{\V*{*read-suppress*}\DF{\NIL}}
+ {
+ If \T, reader is syntactically more tolerant.
+ }
+
\end{LIST}
@@ -671,7 +665,7 @@ \subsection{Format}
\KWD{\Op{:}\Op{@}\Goo{A\XOR S}}}
{
Print argument of any type for consumption by humans/by the
- reader, resp. With \kwd{@}, add \VAR{pad-char}s on the left
+ reader, respectively. With \kwd{@}, add \VAR{pad-char}s on the left
rather than on the right. With \kwd{:} print \NIL\ as \LIT{()} rather
than \LIT{nil}.
}
@@ -691,7 +685,7 @@ \subsection{Format}
{
Take argument as number and print it as English cardinal number,
as English ordinal number, as Roman numeral, or as old Roman
- numeral, resp.
+ numeral, respectively.
}
\IT{\KWD{\TLD}\Op{\VAR{width}
@@ -701,7 +695,7 @@ \subsection{Format}
B\XOR O\XOR X}}}
{
Print integer argument as number (decimal, binary, octal, or
- hexadecimal, resp.) With \kwd{:} group digits
+ hexadecimal, respectively.) With \kwd{:} group digits
\VAR{comma-interval} each; with \kwd{@}, always prepend a sign.
}
@@ -727,7 +721,7 @@ \subsection{Format}
\IT{\Goo{\KWD{\TLD C}\XOR\KWD{\TLD :C}\XOR\KWD{\TLD
@C}\XOR\KWD{\TLD @:C}}}
{
- Print, spell out, print in \kwd{\#$\backslash$} syntax, or tell how to type, resp., argument as
+ Print, spell out, print in \kwd{\#$\backslash$} syntax, or tell how to type, respectively, argument as
(possibly non-printing) character.
}
@@ -739,7 +733,7 @@ \subsection{Format}
{
Convert to lowercase, convert first letter of each word to
uppercase, capitalize first word and convert
- the rest to lowercase, or convert to uppercase, resp.
+ the rest to lowercase, or convert to uppercase, respectively.
}
\IT{\Goo{\KWD{\TLD P}\XOR\KWD{\TLD:P}
@@ -748,7 +742,7 @@ \subsection{Format}
If argument \kwd{eql} 1 print nothing, otherwise print \LIT{s};
do the same after backing up one argument; if argument \kwd{eql} 1
print \LIT{y}, otherwise print \LIT{ies}, do the same after
- backing up one argument, resp.
+ backing up one argument, respectively.
}
\IT{\Goo{\KWD{\TLD\%}\XOR\KWD{\TLD}\VAR{n}\KWD{\%}}}
@@ -765,7 +759,7 @@ \subsection{Format}
\IT{\Goo{\KWD{\TLD}\_\XOR\KWD{\TLD:}\_\XOR\KWD{\TLD@}\_\XOR\KWD{\TLD}:@\_}}
{
Print newline like \kwd{pprint-newline} with argument
- \kwd{:linear}, \kwd{:fill}, \kwd{:miser}, or \kwd{:mandatory}, resp.
+ \kwd{:linear}, \kwd{:fill}, \kwd{:miser}, or \kwd{:mandatory}, respectively.
}
\IT{\KWD{\TLD}\Op{\KWD{@}}$\hookleftarrow$}
@@ -805,7 +799,7 @@ \subsection{Format}
\IT{\Goo{\KWD{\TLD}\Op{\VAR{n}\DF{\LIT{0}}}\kwd{I}\XOR\KWD{\TLD}\Op{\VAR{n}\DF{\LIT{0}}}\kwd{:I}}}
{
Same as (\kwd{pprint-indent} \kwd{:block} \VAR{n}) or
- (\kwd{pprint-indent} \kwd{:current} \VAR{n}), resp.
+ (\kwd{pprint-indent} \kwd{:current} \VAR{n}), respectively.
}
\IT{\KWD{\TLD}\Op{\VAR{n}\DF{\LIT{0}}}\Op{\KWD{:}}\Op{\KWD{@}}\KWD{*}}
@@ -952,7 +946,7 @@ \subsection{Streams}
(\FU*{ECHO-STREAM-OUTPUT-STREAM}\VAR{ echo-stream})}{.}}
{
Return \retval{stream} \VAR{echo-stream} receives from or sends
- to, resp.
+ to, respectively.
}
\IT{(\FU*{MAKE-STRING-INPUT-STREAM} \VAR{string}
@@ -982,7 +976,7 @@ \subsection{Streams}
(\FU*{TWO-WAY-STREAM-OUTPUT-STREAM} \VAR{ two-way-stream})}{.}}
{
Return \retval{stream} \VAR{two-way-stream} receives from or sends
- to, resp.
+ to, respectively.
}
\IT{(\FU*{LISTEN} \Op{\VAR{stream}\DF{\kwd{*standard-input*}}})}
@@ -1003,7 +997,7 @@ \subsection{Streams}
{
End output to \VAR{stream} and return \retval{\NIL} immediately,
after initiating flushing of buffers, or after flushing of buffers,
- resp.
+ respectively.
}
\IT{(\SF*{WITH-OPEN-STREAM} (\VAR{foo} \VAR{stream})
@@ -1049,7 +1043,7 @@ \subsection{Streams}
\V*{*error-output*}}{.}}
{
Standard input stream, standard output stream,
- or standard error output stream, resp.
+ or standard error output stream, respectively.
}
\IT{\arrGOO{\V*{*debug-io*}\\
@@ -1110,7 +1104,7 @@ \subsection{Files}
(\FU*{HOST-NAMESTRING}\VAR{ path})}{.}}
{
Return string representing \retval{full pathname}, \retval{name, type, and version},
- \retval{directory name}, or \retval{host name}, resp., of \VAR{path}.
+ \retval{directory name}, or \retval{host name}, respectively, of \VAR{path}.
}
\IT{(\FU*{PARSE-NAMESTRING} \VAR{foo} \OP{\VAR{host}
@@ -1169,7 +1163,7 @@ \subsection{Files}
(\FU*{TRUENAME} \VAR{file})}{.}}
{
\retval{Canonical name} of \VAR{file}. If \VAR{file} does not exist,
- return \retval{\NIL}/signal error, resp.
+ return \retval{\NIL}/signal error, respectively.
}
\IT{(\FU*{FILE-WRITE-DATE} \VAR{file})}
View
92 clqr-numbers.tex
@@ -24,7 +24,7 @@ \subsection{Predicates}
\index{=}%
\index{/=}%
Return \retval{\T} if all \VAR{number}s, or
- none, resp., are equal.
+ none, respectively, are equal.
}
\IT{\arrGOO{(\FU{\boldmath$>$}\RP{\VAR{
@@ -38,18 +38,20 @@ \subsection{Predicates}
\index{<=@$<=$}%
Return \retval{\T} if \VAR{number}s are
monotonically decreasing, monotonically non-increasing,
- monotonically increasing, or monotonically non-decreasing, resp.
+ monotonically increasing, or monotonically non-decreasing, respectively.
}
- \IT{\arrGOO{(\FU*{MINUSP} \VAR{ a})\\(\FU*{ZEROP} \VAR{ a})\\(\FU*{PLUSP}
- \VAR{ a})}{\}}}
+ \IT{\arrGOO{(\FU*{MINUSP} \VAR{ a})\\
+ (\FU*{ZEROP} \VAR{ a})\\
+ (\FU*{PLUSP}
+ \VAR{ a})}{.}}
{
- Return \retval{\T} if $a < 0$, $a = 0$, or $a > 0$, resp.
+ Return \retval{\T} if $a < 0$, $a = 0$, or $a > 0$, respectively.
}
\IT{(\xorGOO{\FU*{EVENP}\\\FU*{ODDP}}{\}} \VAR{integer})}
{
- Return \retval{\T} if \VAR{integer} is even, or odd, resp.
+ Return \retval{\T} if \VAR{integer} is even, or odd, respectively.
}
\IT{\arrGOO{(\FU*{NUMBERP} \VAR{ foo})\\
@@ -60,7 +62,7 @@ \subsection{Predicates}
(\FU*{COMPLEXP} \VAR{ foo})
}{\}}}
{
- Return \retval{\T} if \VAR{foo} is of
+ \retval{\T} if \VAR{foo} is of
indicated type.
}
@@ -90,21 +92,21 @@ \subsection{Numeric Functions}
\IT{\arrGOO{(\FU*{+} \OPn{\VAR{ a}})\\
(\FU*{*} \OPn{\VAR{ a}})}{.}}
{
- Return \retval{$\sum{a}$} or \retval{$\prod{a}$}, resp. Without any
- \VAR{a}s, return \retval{0} or \retval{1}, resp.
+ Return \retval{$\sum{a}$} or \retval{$\prod{a}$}, respectively. Without any
+ \VAR{a}s, return \retval{0} or \retval{1}, respectively.
}
\IT{\arrGOO{(\FU*{--} \VAR{ a}\OPn{\VAR{ b}})\\
(\FU*{/} \VAR{ a}
\OPn{\VAR{ b}})}{.}}
{
- Return \retval{$a-\sum{b}$} or \retval{$a/\prod{b}$}, resp. Without any
- \VAR{b}s, return \retval{$-a$} or \retval{$1/a$}, resp.
+ Return \retval{$a-\sum{b}$} or \retval{$a/\prod{b}$}, respectively. Without any
+ \VAR{b}s, return \retval{$-a$} or \retval{$1/a$}, respectively.
}
\IT{\arrGOO{(\FU*{1+} \VAR{ a})\\(\FU*{1--} \VAR{ a})}{\}}}
{Return \retval{$a+1$} or
- \retval{$a-1$}, resp.
+ \retval{$a-1$}, respectively.
}
\IT{(\xorGOO{\SF*{INCF}\\\SF*{DECF}}{\}} \VAR{place}
@@ -131,14 +133,14 @@ \subsection{Numeric Functions}
\IT{\arrGOO{(\FU*{SQRT} \VAR{ n})\\
(\FU*{ISQRT} \VAR{ n})}{\}}}
{
- Return, in complex or natural numbers, resp., $\sqrt{n}$.
+ Return, in complex or natural numbers, respectively, $\sqrt{n}$.
}
\IT{\arrGOO{(\FU*{LCM} \OPn{\VAR{ integer}})\\
(\FU*{GCD} \OPn{\VAR{ integer}})}{.}}
{
\retval{Least common multiple} or \retval{greatest common
- denominator}, resp., of \VAR{integer}s.
+ denominator}, respectively, of \VAR{integer}s.
}
\IT{\CNS*{PI}}
@@ -151,14 +153,14 @@ \subsection{Numeric Functions}
(\FU*{TAN} \VAR{ a})}{.}}
{
With \VAR{a} in radians, return \retval{$\sin a$}, \retval{$\cos
- a$}, or \retval{$\tan a$}, resp.
+ a$}, or \retval{$\tan a$}, respectively.
}
\IT{\arrGOO{(\FU*{ASIN} \VAR{ a})\\
(\FU*{ACOS} \VAR{ a})}{\}}}
{
- Return \retval{$\arcsin a$} or \retval{$\arccos
- a$}, resp., in radians.
+ \retval{$\arcsin a$} or \retval{$\arccos
+ a$}, respectively, in radians.
}
\IT{(\FU*{ATAN} \VAR{a} \Op{\VAR{b}})}
@@ -170,15 +172,15 @@ \subsection{Numeric Functions}
\VAR{ a})}{\}}}
{
Return \retval{$\sinh a$}, \retval{$\cosh
- a$}, or \retval{$\tanh a$}, resp.
+ a$}, or \retval{$\tanh a$}, respectively.
}
\IT{\arrGOO{(\FU*{ASINH} \VAR{ a})\\
(\FU*{ACOSH} \VAR{ a})
\\(\FU*{ATANH} \VAR{ a})}{\}}}
{
- Return \retval{$\operatorname{arsinh} a$}, \retval{$\operatorname{acosh}
- a$}, or \retval{$\operatorname{atanh} a$}, resp.
+ \retval{$\operatorname{arsinh} a$}, \retval{$\operatorname{acosh}
+ a$}, or \retval{$\operatorname{atanh} a$}, respectively.
}
\IT{(\FU*{CIS} \VAR{n})}
@@ -195,20 +197,20 @@ \subsection{Numeric Functions}
\IT{\arrGOO{(\FU*{NUMERATOR} \VAR{ rational})\\
(\FU*{DENOMINATOR} \VAR{ rational})}{.}}
{
- Return \retval{numerator} or \retval{denominator}, resp., of
+ Return \retval{numerator} or \retval{denominator}, respectively, of
\VAR{rational}'s canonical form.
}
\IT{\arrGOO{(\FU*{REALPART} \VAR{ number})\\
(\FU*{IMAGPART} \VAR{ number})}{.}}
{
- Return \retval{real part} or \retval{imaginary part}, resp., of \VAR{number}.
+ Return \retval{real part} or \retval{imaginary part}, respectively, of \VAR{number}.
}
\IT{\arrGOO{(\FU*{MAX } \Op{\VAR{num}})\\
(\FU*{MIN } \Op{\VAR{num}})}{\}}}
{
- Return \retval{greatest} or \retval{least}, resp., of \VAR{num}s.
+ Return \retval{greatest} or \retval{least}, respectively, of \VAR{num}s.
}
\IT{(\xorGOO{%
@@ -218,14 +220,14 @@ \subsection{Numeric Functions}
\Goo{\FU*{ROUND}\XOR\FU*{FROUND}}}{\}}
\VAR{number} \Op{\VAR{divisor}\DF{1}})}
{
- Return \retval{quotient} (integer or float, resp.) truncated
- towards $-\infty$, $+\infty$, $0$, or rounded, resp.; and \retvalii{remainder}.
+ Return \retval{quotient} (integer or float, respectively.) truncated
+ towards $-\infty$, $+\infty$, $0$, or rounded, respectively; and \retvalii{remainder}.
}
\IT{(\xorGOO{\FU*{MOD}\\
\FU*{REM}}{\}} \VAR{n} \VAR{m})}
{Same as \kwd{floor} or
- \kwd{truncate}, resp., but return \retval{remainder} only.
+ \kwd{truncate}, respectively, but return \retval{remainder} only.
}
\IT{(\FU*{RANDOM} \VAR{limit})}
@@ -263,7 +265,7 @@ \subsection{Numeric Functions}
}
\IT{\arrGOO{(\FU*{RATIONAL} \VAR{ real})\\
- (\FU*{RATIONALIZE} \VAR{ real})}{\}}}
+ (\FU*{RATIONALIZE} \VAR{ real})}{.}}
{
Convert \VAR{real} to \retval{rational}. Assume limited/unlimited precision for \VAR{real}.
}
@@ -313,7 +315,7 @@ \subsection{Logic Functions}
(\FU*{LOGEQV} \OPn{\VAR{ integer}})}{.}}
{
Return \retval{value of anded or exclusive-nored \VAR{integer}s},
- resp. Without any \VAR{integer}, return \retval{$-1$}.
+ respectively. Without any \VAR{integer}, return \retval{$-1$}.
}
\IT{(\FU*{LOGANDC1} \VAR{ int-a} \VAR{ int-b})}
@@ -360,7 +362,7 @@ \subsection{Logic Functions}
(\FU*{LOGXOR} \OPn{\VAR{ integer}})}{.}}
{
Return \retval{value of ored or exclusive-ored \VAR{integer}s},
- resp. Without any \VAR{integer}, return \retval{0}.
+ respectively. Without any \VAR{integer}, return \retval{0}.
}
\IT{(\FU*{LOGNOT}\VAR{ integer})}
@@ -426,7 +428,7 @@ \subsection{Integer Functions}
{
Return \retval{\VAR{int-b}} with bits denoted by \VAR{byte-spec} replaced
by corresponding bits of \VAR{int-a}, or by the low (\kwd{byte-size}
- \VAR{byte-spec}) bits of \VAR{int-a}, resp.
+ \VAR{byte-spec}) bits of \VAR{int-a}, respectively.
}
\end{LIST}
@@ -437,9 +439,12 @@ \subsection{Integer Functions}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{LIST}{1cm}
- \IT{\xorGOO{\CNS{SHORT-FLOAT}\\\CNS{SINGLE-FLOAT}\\\CNS{DOUBLE-FLOAT}\\\CNS{LONG-FLOAT}}{\}}\kwd{-}%
+ \IT{\arrGOO{\CNS{SHORT-FLOAT}\\
+ \CNS{SINGLE-FLOAT}\\
+ \CNS{DOUBLE-FLOAT}\\
+ \CNS{LONG-FLOAT}}{\}}\kwd{-}%
\xorGOO{\kwd{EPSILON}\\
- \kwd{NEGATIVE-EPSILON}}{\}}}
+ \kwd{NEGATIVE-EPSILON}}{.}}
{
\index{SHORT-FLOAT-EPSILON}%
\index{SINGLE-FLOAT-EPSILON}%
@@ -449,18 +454,20 @@ \subsection{Integer Functions}
\index{SINGLE-FLOAT-NEGATIVE-EPSILON}%
\index{DOUBLE-FLOAT-NEGATIVE-EPSILON}%
\index{LONG-FLOAT-NEGATIVE-EPSILON}%
- Smallest possible number making a difference when added or subtracted, resp.
+ Smallest possible number making a difference when added or subtracted, respectively.
}
- \IT{\xorGOO{%
- \CNS{LEAST-NEGATIVE}\\\CNS{LEAST-NEGATIVE-NORMALIZED}\\
- \CNS{LEAST-POSITIVE}\\\CNS{LEAST-POSITIVE-NORMALIZED}}{\}}%
+ \IT{\arrGOO{%
+ \CNS{LEAST-NEGATIVE}\\
+ \CNS{LEAST-NEGATIVE-NORMALIZED}\\
+ \CNS{LEAST-POSITIVE}\\
+ \CNS{LEAST-POSITIVE-NORMALIZED}}{\}}%
\kwd{-}%
\xorGOO{%
\kwd{SHORT-FLOAT}\\
\kwd{SINGLE-FLOAT}\\
\kwd{DOUBLE-FLOAT}\\
- \kwd{LONG-FLOAT}}{\}}}
+ \kwd{LONG-FLOAT}}{.}}
{
\index{LEAST-NEGATIVE-SHORT-FLOAT}%
\index{LEAST-NEGATIVE-NORMALIZED-SHORT-FLOAT}%
@@ -478,17 +485,18 @@ \subsection{Integer Functions}
\index{LEAST-POSITIVE-NORMALIZED-DOUBLE-FLOAT}%
\index{LEAST-POSITIVE-LONG-FLOAT}%
\index{LEAST-POSITIVE-NORMALIZED-LONG-FLOAT}%
- Available numbers closest to $-0$ or $+0$, resp.
+ Available numbers closest to $-0$ or $+0$, respectively.
}
- \IT{\xorGOO{\CNS{MOST-NEGATIVE}\\\CNS{MOST-POSITIVE}}{\}}%
+ \IT{\arrGOO{\CNS{MOST-NEGATIVE}\\
+ \CNS{MOST-POSITIVE}}{\}}%
\kwd{-}%
\xorGOO{%
\kwd{DOUBLE-FLOAT}\\
\kwd{LONG-FLOAT}\\
\kwd{SHORT-FLOAT}\\
\kwd{SINGLE-FLOAT}\\
- \kwd{FIXNUM}}{\}}}
+ \kwd{FIXNUM}}{.}}
{
\index{MOST-NEGATIVE-DOUBLE-FLOAT}%
\index{MOST-NEGATIVE-LONG-FLOAT}%
@@ -500,7 +508,7 @@ \subsection{Integer Functions}
\index{MOST-POSITIVE-SHORT-FLOAT}%
\index{MOST-POSITIVE-SINGLE-FLOAT}%
\index{MOST-POSITIVE-FIXNUM}%
- Available numbers closest to $-\infty$ or $+\infty$, resp.
+ Available numbers closest to $-\infty$ or $+\infty$, respectively.
}
\IT{\arrGOO{(\FU*{DECODE-FLOAT} \VAR{ n})\\
@@ -520,7 +528,7 @@ \subsection{Integer Functions}
(\FU*{FLOAT-PRECISION} \VAR{ n})}{.}}
{
\retval{Radix}, \retval{number of digits} in that radix,
- \retval{precision} in that radix, resp., of float \VAR{n}.
+ \retval{precision} in that radix, respectively, of float \VAR{n}.
}
\IT{(\FU*{UPGRADED-COMPLEX-PART-TYPE} \VAR{foo})}
View
150 clqr-packages-and-symbols.tex
@@ -10,13 +10,21 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Packages and Symbols}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\subsection{Predicates}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{LIST}{1cm}
\IT{\arrGOO{(\FU*{SYMBOLP} \VAR{ foo})\\
- (\FU*{PACKAGEP} \VAR{ foo})}{.}}
+ (\FU*{PACKAGEP} \VAR{ foo})}{\}}}
+ {
+ \retval{\T} if \VAR{foo} is of indicated type.
+ }
+
+ \IT{(\FU*{KEYWORDP} \VAR{foo})}
{
- Return \retval{\T} if \VAR{foo} is of type \kwd{symbol} or
- \kwd{package}, resp.
+ \retval{\T} if \VAR{foo} is a keyword.
}
\IT{(\FU*{BOUNDP} \VAR{symbol})}
@@ -24,24 +32,34 @@ \section{Packages and Symbols}
\retval{\T} if \VAR{symbol} is a special variable.
}
- \IT{(\FU*{KEYWORDP} \VAR{foo})}
+\end{LIST}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\subsection{Packages}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{LIST}{1cm}
+
+ \IT{\kwd*{:}\VAR{bar}\XOR\kwd*{keyword:}\VAR{bar}}
{
- \retval{\T} if \VAR{foo} is a keyword.
+ Keyword, evaluates to \retval{:\VAR{bar}}
}
- \IT{\KWD*{:}\VAR{foo}}
+ \IT{\VAR{foo}\kwd*{:}\VAR{bar}}
{
- Keyword, evaluates to \retval{:\VAR{foo}}
+ Symbol \VAR{bar} of package \VAR{foo}
}
- \IT{(\kwd*{T})}
+ \IT{\T}
{
+ \index{T}%
Truth, or \V{*terminal-io*}.
}
- \IT{\Goo{(\CNS*{NIL})\XOR{\kwd*{()}}}}
+ \IT{\NIL\XOR{\kwd*{()}}}
{
- Falsehood, the empty list, \V{*standard-input*},
+ \index{NIL}%
+ Falsity, the empty list, \V{*standard-input*},
\V{*standard-output*}, or the global environment.
}
@@ -83,7 +101,7 @@ \section{Packages and Symbols}
\Op{\VAR{package}\DF{\kwd{*package*}}})}
{
Make exported symbols of \VAR{packages} available in \VAR{package}, or remove them
- from \VAR{package}, resp.. Return \retval{\T}.
+ from \VAR{package}, respectively. Return \retval{\T}.
}
\IT{(\FU*{DELETE-PACKAGE} \VAR{package})}
@@ -125,30 +143,6 @@ \section{Packages and Symbols}
\retval{List of other packages} using \VAR{package}.
}
- \IT{(\FU*{MAKE-SYMBOL} \VAR{name})}
- {
- Make fresh, uninterned \retval{symbol \VAR{name}}.
- }
-
- \IT{(\FU*{GENSYM} \Op{\VAR{x}\DF{\LIT{G}}})}
- {
- Return fresh symbol \retval{\kwd{\#:}\VAR{x}\VAR{n}}, with \VAR{n} from
- \V*{*gensym-counter*} which is incremented only in case no \VAR{x}
- is given.
- }
-
- \IT{(\FU*{GENTEMP} \OP{\VAR{prefix}\DF{\LIT{T}}
- \Op{\VAR{package}\DF{\kwd{*package*}}}})}
- {
- Intern fresh \retval{symbol} in \retval{package}. Deprecated.
- }
-
- \IT{(\FU*{COPY-SYMBOL} \VAR{symbol} \Op{\VAR{props}\DF{\NIL}})}
- {
- Return uninterned \retval{copy of \VAR{symbol}}. If \VAR{props} is
- \T, the copy has the same value, function, and property list.
- }
-
\IT{(\FU*{FIND-ALL-SYMBOLS} \VAR{name})}
{
Return \retval{list of symbols} with \VAR{name} from all
@@ -163,7 +157,7 @@ \section{Packages and Symbols}
\IT{(\xorGOO{\FU*{INTERN}\\
\FU*{FIND-SYMBOL}}{\}} \VAR{name} \Op{\VAR{package}})}
{
- Intern or find, resp., \retval{symbol \VAR{name}} in
+ Intern or find, respectively, \retval{symbol \VAR{name}} in
\VAR{package}. Second return value is one of
\retvalii{\kwd{:internal}}, \retvalii{\kwd{:external}}, or
\retvalii{\kwd{:inherited}}.
@@ -180,7 +174,7 @@ \section{Packages and Symbols}
{
Make \VAR{symbols} internal to \VAR{package}. Return \retval{\T}. In
case of a name conflict, signal \kwd{package-error}, or shadow
- the old symbol, resp.
+ the old symbol, respectively.
}
\IT{(\FU*{SHADOW} \VAR{symbols}
@@ -218,30 +212,74 @@ \section{Packages and Symbols}
Evaluate \VAR{form}s with \VAR{var} successively bound to all
symbols from all registered packages, to all symbols from
\VAR{package}, or to all external symbols from \VAR{package},
- resp. Return \retval{values of \VAR{result}}.
+ respectively. Return \retval{values of \VAR{result}}.
}
\IT{(\SF*{WITH-PACKAGE-ITERATOR} (\VAR{name} \VAR{packages}
\Op{\kwd{:internal}\XOR\kwd{:external}\XOR\kwd{:inherited}})
\OPn{(\kwd{declare} \OPn{\VAR{decl}})} \OPn{\VAR{form}})}
{
- Return \retval{values of \VAR{form}s}. In the body, successive
+ Return \retval{values of \VAR{form}s}. In \VAR{form}s, successive
invocations of (\VAR{name}) return: \T\ if a symbol is returned;
a symbol from \VAR{packages}; accessibility
(\kwd{:internal}, \kwd{:external}, or \kwd{:inherited}); and the
package the symbol belongs to.
}
- \IT{(\FU*{SYMBOL-NAME} \VAR{ symbol})}
+ \IT{(\FU*{REQUIRE} \VAR{module} \Op{\VAR{path-list}})}
{
- \retval{Name} of \VAR{symbol}.
+ If not in \kwd{*modules*}, try paths in \VAR{path-list} to load
+ module from. Signal \kwd{error} if unsuccessful. Deprecated.
+ }
+
+ \IT{(\FU*{PROVIDE} \VAR{module})}
+ {
+ If not already there, add \VAR{module} to
+ \kwd{*modules*}. Deprecated.
+ }
+
+ \IT{\V*{*modules*}}
+ {
+ List of names of modules loaded into Lisp image.
+ }
+
+\end{LIST}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\subsection{Symbols}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{LIST}{1cm}
+
+ \IT{(\FU*{MAKE-SYMBOL} \VAR{name})}
+ {
+ Make fresh, uninterned \retval{symbol \VAR{name}}.
+ }
+
+ \IT{(\FU*{GENSYM} \Op{\VAR{x}\DF{\LIT{G}}})}
+ {
+ Return fresh symbol \retval{\kwd{\#:}\VAR{x}\VAR{n}}, with \VAR{n} from
+ \V*{*gensym-counter*} which is incremented only in case no \VAR{x}
+ is given.
+ }
+
+ \IT{(\FU*{GENTEMP} \OP{\VAR{prefix}\DF{\LIT{T}}
+ \Op{\VAR{package}\DF{\kwd{*package*}}}})}
+ {
+ Intern fresh \retval{symbol} in \retval{package}. Deprecated.
+ }
+
+ \IT{(\FU*{COPY-SYMBOL} \VAR{symbol} \Op{\VAR{props}\DF{\NIL}})}
+ {
+ Return uninterned \retval{copy of \VAR{symbol}}. If \VAR{props} is
+ \T, the copy has the same value, function, and property list.
}
\IT{\arrGOO{(\FU*{SYMBOL-FUNCTION} \VAR{ symbol})\\
(\FU*{SYMBOL-VALUE} \VAR{ symbol})\\
(\FU*{SYMBOL-PLIST} \VAR{ symbol})}{.}}
{
- \retval{Function}, \retval{value}, or \retval{property list}, resp.,
+ \retval{Function}, \retval{value}, or \retval{property list}, respectively,
of \VAR{symbol}. \kwd{setf}able.
}
@@ -257,21 +295,33 @@ \section{Packages and Symbols}
type. \kwd{setf}able.
}
- \IT{(\FU*{REQUIRE} \VAR{module} \Op{\VAR{path-list}})}
+ \IT{(\FU*{SYMBOL-NAME} \VAR{ symbol})}
{
- If not in \kwd{*modules*}, try paths in \VAR{path-list} to load
- module from. Signal \kwd{error} if unsuccessful. Deprecated.
+ \retval{Name} of \VAR{symbol}.
}
- \IT{(\FU*{PROVIDE} \VAR{module})}
+\end{LIST}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\subsection{Standard Packages}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{LIST}{1cm}
+
+ \IT{\kwd*{COMMON-LISP}\XOR\kwd*{CL}}
{
- If not already there, add \VAR{module} to
- \kwd{*modules*}. Deprecated.
+ Contains the defined names of Common Lisp except for those in the
+ \kwd{keyword} package.
}
- \IT{\V*{*modules*}}
+ \IT{\kwd*{COMMON-LISP-USER}\XOR\kwd*{CL-USER}}
{
- List of names of modules loaded into Lisp image.
+ Current package after startup; uses package \kwd{common-lisp}.
+ }
+
+ \IT{\kwd*{KEYWORD}}
+ {
+ Contains symbols which are defined to be of type \kwd{KEYWORD}.
}
\end{LIST}
View
26 clqr-sequences.tex
@@ -21,14 +21,14 @@ \subsection{Sequence Predicates}
\FU*{NOTEVERY}}{\}} \VAR{test}
\RP{\VAR{sequence}})}
{
- Return \retval{\NIL} or \retval{\T}, resp., as soon as \VAR{test} on
+ Return \retval{\NIL} or \retval{\T}, respectively, as soon as \VAR{test} on
any set of corresponding elements of \VAR{sequences} returns \NIL.
}
\IT{(\xorGOO{\FU*{NOTANY}\\\FU*{SOME}}{\}} \VAR{test}
\RP{\VAR{sequence}})}
{
- Return \retval{\NIL} or \retval{value of \VAR{test}}, resp., as soon
+ Return \retval{\NIL} or \retval{value of \VAR{test}}, respectively, as soon
as \VAR{test} on any set of elements of \VAR{sequences} returns non-\NIL.
}
@@ -127,14 +127,14 @@ \subsection{Sequence Functions}
\Op{\kwd{:key} \VAR{function}})}
{
Return \retval{sorted sequence}. \VAR{sequence} is modified. Order
- of elements considered equal is not guaranteed/retained, resp.
+ of elements considered equal is not guaranteed/retained, respectively.
}
\IT{\arrGOO{(\FU*{REVERSE} \VAR{ sequence})\\(\FU*{NREVERSE} \VAR{
sequence})}{.}}
{
Return \retval{\VAR{sequence} in reverse order}. \VAR{sequence} is
- unmodified/possibly modified, resp.
+ unmodified/possibly modified, respectively.
}
\IT{(\xorGOO{\FU*{FIND}\\
@@ -147,7 +147,7 @@ \subsection{Sequence Functions}
\kwd{:key} \VAR{ function}}{\}})}
{
Return \retval{first element} found in \VAR{sequence}, or
- its \retval{position} relative to \VAR{sequence}'s start, resp.,
+ its \retval{position} relative to \VAR{sequence}'s start, respectively,
between \VAR{start} and \VAR{end} satisfying tests.
}
@@ -158,7 +158,7 @@ \subsection{Sequence Functions}
\kwd{:key} \VAR{ function}}{\}})}
{
Return \retval{first element in \VAR{sequence}}, or
- \retval{its position} relative to \VAR{sequence}'s start, resp., between \VAR{start}
+ \retval{its position} relative to \VAR{sequence}'s start, respectively, between \VAR{start}
and \VAR{end} satisfying \VAR{test}.
}
@@ -187,7 +187,7 @@ \subsection{Sequence Functions}
\kwd{:count} \VAR{ count}\DF{\NIL}}{\}})}
{
Make \retval{copy of \VAR{sequence}} without elements matching
- \VAR{foo}. \VAR{sequence} is unmodified/possibly modified, resp.
+ \VAR{foo}. \VAR{sequence} is unmodified/possibly modified, respectively.
}
\IT{(\xorGOO{\FU*{REMOVE-IF}\\\FU*{REMOVE-IF-NOT}\\
@@ -200,8 +200,8 @@ \subsection{Sequence Functions}
\kwd{:count} \VAR{ count}\DF{\NIL}}{\}})}
{
Make \retval{copy of \VAR{sequence}} with all (or \VAR{count}) elements
- satisfying test or not satisfying test, resp., removed.
- \VAR{sequence} is unmodified/possibly modified, resp.
+ satisfying test or not satisfying test, respectively, removed.
+ \VAR{sequence} is unmodified/possibly modified, respectively.
}
\IT{(\xorGOO{\FU*{REMOVE-DUPLICATES}\\\FU*{DELETE-DUPLICATES}}{\}} \VAR{sequence}
@@ -214,7 +214,7 @@ \subsection{Sequence Functions}
{
Make \retval{copy of
\VAR{sequence}} without duplicates. \VAR{sequence} is unmodified/possibly
- modified, resp.
+ modified, respectively.
}
\IT{(\xorGOO{\FU*{SUBSTITUTE}\\\FU*{NSUBSTITUTE}}{\}} \VAR{new}
@@ -229,7 +229,7 @@ \subsection{Sequence Functions}
{
Make \retval{copy of \VAR{sequence}} with all (or \VAR{count})
\VAR{old}s replaced by \VAR{new}. \VAR{sequence} is
- unmodified/possibly modified, resp.
+ unmodified/possibly modified, respectively.
}
\IT{(\xorGOO{\FU*{SUBSTITUTE-IF}\\\FU*{SUBSTITUTE-IF-NOT}\\
@@ -242,8 +242,8 @@ \subsection{Sequence Functions}
\kwd{:count} \VAR{ count}\DF{\NIL}}{\}})}
{
Make \retval{copy of \VAR{sequence}} with all (or \VAR{count})
- elements satisfying test or not satisfying test, resp., replaced by
- \VAR{new}. \VAR{sequence} is unmodified/possibly modified, resp.
+ elements satisfying test or not satisfying test, respectively, replaced by
+ \VAR{new}. \VAR{sequence} is unmodified/possibly modified, respectively.
}
\IT{(\FU*{REPLACE} \VAR{sequence-a} \VAR{sequence-b}
View
16 clqr-strings.tex
@@ -20,7 +20,7 @@ \section{Strings}
(\FU*{SIMPLE-STRING-P} \VAR{ foo})}{.}}
{
Return \retval{\T} if \VAR{foo} is of type
- \kwd{string} or \kwd{simple-string}, resp.
+ \kwd{string} or \kwd{simple-string}, respectively.
}
\IT{(\xorGOO{\FU*{STRING=}\\\FU*{STRING-EQUAL}}{\}} \VAR{foo}
@@ -32,7 +32,7 @@ \section{Strings}
{
Return \retval{\T} if
subsequences of \VAR{foo} and \VAR{bar} are equal. Obey/ignore,
- resp., case.
+ respectively, case.
}
\IT{(\xorGOO{\FU*{STRING/=}\\\FU{STRING\boldmath$>$}\\
@@ -49,7 +49,7 @@ \section{Strings}
\index{string<=@STRING$<=$}%
If \VAR{foo} is
lexicographically not equal, greater, not less, less, or not greater,
- resp., then return \retval{character number} from beginning of \VAR{foo}
+ respectively, then return \retval{character number} from beginning of \VAR{foo}
where they begin to differ. Otherwise return \retval{\NIL}.
}
@@ -67,7 +67,7 @@ \section{Strings}
{
If \VAR{foo} is
lexicographically not equal, greater, not less, less, or not greater,
- resp., ignoring case, then return \retval{character number} from beginning of \VAR{foo}
+ respectively, ignoring case, then return \retval{character number} from beginning of \VAR{foo}
where they begin to differ. Otherwise return \retval{\NIL}.
}
@@ -97,9 +97,9 @@ \section{Strings}
\index{NSTRING-CAPITALIZE}%
\index{NSTRING-UPCASE}%
\index{NSTRING-DOWNCASE}%
- Return \retval{\VAR{string}} (not modified or modified, resp.) with
+ Return \retval{\VAR{string}} (not modified or modified, respectively.) with
first letter of every word turned into uppercase, all letters
- uppercase, or all letters lowercase, resp.
+ uppercase, or all letters lowercase, respectively.
}
\IT{(\xorGOO{\FU*{STRING-TRIM}\\
@@ -107,14 +107,14 @@ \section{Strings}
\FU*{STRING-RIGHT-TRIM}}{\}} \VAR{char-bag} \VAR{string})}
{
Return \retval{\VAR{string}} with all characters in \VAR{char-bag} removed
- from both ends, from the beginning, or from the end, resp.
+ from both ends, from the beginning, or from the end, respectively.
}
\IT{\arrGOO{(\FU*{CHAR} \VAR{ string} \VAR{ i})\\
(\FU*{SCHAR} \VAR{ string} \VAR{ i})}{\}}}
{
Return \retval{\VAR{i}th character} of string ignoring/obeying,
- resp., fill pointer. \kwd{setf}able.
+ respectively, fill pointer. \kwd{setf}able.
}
\IT{(\FU*{PARSE-INTEGER} \VAR{string}
View
17 clqr-system-types-and-classes.tex
@@ -108,7 +108,8 @@ \section{System Types and Classes}
\kwd*{METHOD-COMBINATION}}}
\end{center}\vspace{-1em}
{\footnotesize\footnotemark[2]Multiply defined}
- \caption{Data Types.}%
+
+ \caption{Data Types. \quad\kwd{*} as an argument means no restriction.}%
\end{figure}
@@ -150,7 +151,7 @@ \section{System Types and Classes}
}{\}}\VAR{foo} \OPn{(\VAR{type} \OPn{\VAR{form}})})}
{
Return \retval{value of a \VAR{form}} if \VAR{foo} is of this \VAR{type}.
- Signal correctable/non-correctable error, resp.
+ Signal correctable/non-correctable error, respectively.
}
\IT{(\FU*{TYPE-OF} \VAR{foo})}
@@ -188,21 +189,23 @@ \section{System Types and Classes}
Define new type \retval{\VAR{name}}.
}
- \IT{(\kwd*{T})}
+ \IT{\T)}
{
+ \index{T}%
Supertype of every type including \kwd{t}; or superclass of every
class except \kwd{t}.
}
- \IT{(\kwd*{NIL})}
+ \IT{\NIL}
{
+ \index{NIL}%
The empty type, subtype of every type.
}
\IT{\arrGOO{(\kwd{EQL} \VAR{foo})\\
(\kwd{MEMBER} \OPn{\VAR{foo}})}{\}}}
{
- Type specifier, comprising just \VAR{foo} of \VAR{foo}s, resp.
+ Type specifier, comprising just \VAR{foo} of \VAR{foo}s, respectively.
}
\IT{(\kwd*{SATISFIES} \VAR{name})}
@@ -220,12 +223,12 @@ \section{System Types and Classes}
Complement of type.
}
- \IT{(\kwd*{AND} \OPn{\VAR{type}}\DF{\kwd{t}})}
+ \IT{(\kwd*{AND} \OPn{\VAR{type}}\DF{\T})}
{
Type specifier for intersection of \VAR{type}s.
}
- \IT{(\kwd*{OR} \OPn{\VAR{type}}\DF{\kwd{nil}})}
+ \IT{(\kwd*{OR} \OPn{\VAR{type}}\DF{\NIL})}
{
Type specifier for union of \VAR{type}s.
}
View
9 clqr.tex
@@ -370,7 +370,7 @@ \section*{\contentsname}
\VAR{baz}