X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/3e21ae3fa660b188bc20caec8c96c1f678405c25..64a7e6515e1e585b420c1c14acda9be9ff84c3db:/doc/misc.tex diff --git a/doc/misc.tex b/doc/misc.tex index 06791f4..c253630 100644 --- a/doc/misc.tex +++ b/doc/misc.tex @@ -30,16 +30,19 @@ These symbols are defined in the @|sod-utilities| package. + +\subsection{Macro utilities} + \begin{describe}{mac} - {with-gensyms (@{ @ @! (@ @[@@]) @}^*) \\ \ind - @^* \\ + {with-gensyms (@{ @ @! (@ @[@@]) @}^*) \\ \ind + @^* \\ @
^*} \end{describe} \begin{describe}{mac} {once-only (@[[ :environment @ @]] - @{ @ @! (@ @[@@]) @}^*) \\ \ind - @^* \\ + @{ @ @! (@ @[@@]) @}^*) \\ \ind + @^* \\ @^*} \end{describe} @@ -51,6 +54,12 @@ These symbols are defined in the @|sod-utilities| package. \begin{describe}{cls}{loc} \end{describe} +\begin{describe}{fun}{symbolicate \&rest @ @> @} +\end{describe} + + +\subsection{Locatives} + \begin{describe}{fun}{locp @ @> @} \end{describe} @@ -65,17 +74,23 @@ These symbols are defined in the @|sod-utilities| package. \begin{describe}{mac} {with-locatives @{ @ @! (@{ @ @! - (@ @[@@]) @}^*) @} \\ \ind - @^* \\ + (@ @[@@]) @}^*) @} \\ \ind + @^* \\ @^*} \end{describe} + +\subsection{Anaphorics} + \begin{describe}{sym}{it} \end{describe} \begin{describe}{mac}{aif @ @ @[@@]} \end{describe} +\begin{describe}{mac}{aand @^*} +\end{describe} + \begin{describe}{mac}{awhen @ @^*} \end{describe} @@ -94,6 +109,9 @@ These symbols are defined in the @|sod-utilities| package. \begin{describe}{mac}{asetf @{ @ @ @}^*} \end{describe} + +\subsection{Metaobject protocol utilities} + \begin{describe}{gf}{instance-initargs @} \end{describe} @@ -110,6 +128,23 @@ These symbols are defined in the @|sod-utilities| package. \dhead{gf}{eql-specializer-object @ @> @}} \end{describe*} + +\subsection{Other CLOS utilities} + +\begin{describe}{mac} + {default-slot (@ @ @[@@]) \\ \ind + @^*} +\end{describe} + +\begin{describe}{mac} + {define-on-demand-slot @ @ (@) \\ \ind + @[[ @^* @! @ @]] \\ + @^*} +\end{describe} + + +\subsection{Building lists} + \begin{describe}{fun}{make-list-builder \&optional @ @> @} \end{describe} @@ -122,36 +157,58 @@ These symbols are defined in the @|sod-utilities| package. \begin{describe}{fun}{lbuild-list @ @> @} \end{describe} -\begin{describe}{fun} - {mappend @ @ \&rest @ @> @} -\end{describe} -\begin{describe}{cls}{inconsistent-merge-error (error) \&key :candidates} +\subsection{Merging lists} + +\begin{describe}{cls} + {inconsistent-merge-error (error) \&key :candidates :present} \end{describe} \begin{describe}{gf}{merge-error-candidates @ @> @} \end{describe} +\begin{describe}{gf}{merge-error-present-function @ @> @} +\end{describe} + \begin{describe}{fun} - {merge-lists @ \&key :pick (:test \#'eql) @> @} + {merge-lists @ \&key :pick (:test \#'eql) :present @> @} +\end{describe} + + +\subsection{Other list utilities} + +\begin{describe}{fun} + {mappend @ @ \&rest @ @> @} +\end{describe} + +\begin{describe}{fun} + {distinguished-point-shortest-paths @ @ + @> @} \end{describe} \begin{describe}{mac} {categorize (\=@ @ - @[[ :bind (@{ @ @! (@ @[@@]) @}^*) @]]) - \\ \ind\ind - (@{ (@ @) @}^*) \- \\ - @^* \\ - @^* \- - \nlret @^*} + @[[ :bind (@{ @ @! + (@ @[@@]) @}^*) @]]) + \\ \ind\ind + (@{ (@ @) @}^*) \-\\ + @^* \\ + @^* + \-\nlret @^*} +\end{describe} + +\begin{describe}{fun}{partial-order-minima @ @ @> @} \end{describe} \begin{describe}{fun} - {frob-identifier @ \&key :swap-case :swap-hyphen - @> @} + {find-duplicates @ @ \&key :identity :test} \end{describe} -\begin{describe}{fun}{whitespace-char-p @ @> @} + +\subsection{Position tracking} + +\begin{describe}{fun} + {whitespace-char-p @ @> @} \end{describe} \begin{describe}{fun} @@ -164,29 +221,60 @@ These symbols are defined in the @|sod-utilities| package. @> @ @} \end{describe} -\begin{describe}{fun} - {compose @ \&rest @ @> @} -\end{describe} -\begin{describe}{fun}{symbolicate \&rest @ @> @} -\end{describe} +\subsection{Object printing} \begin{describe}{mac} - {maybe-print-unreadable-object (@ @ - @[[ :type @ @! - :identity @ @]]) \\ \ind - @^* \\ + {maybe-print-unreadable-object + (@ @ + @[[ :type @ @! + :identity @ @]]) \\ \ind + @^* \\ @^*} \end{describe} \begin{describe}{fun}{print-ugly-stuff @ @ @> @^*} \end{describe} + +\subsection{Condition utilities} + +\begin{describe}{cls} + {simple-control-error (control-error simple-error) + \&key :format-control :format-arguments} +\end{describe} + +\begin{describe}{fun} + {designated-condition + \=@ @ @ \\ + \>\&key :allow-pointless-arguments + \nlret @} +\end{describe} + +\begin{describe}{fun} + {invoke-associated-restart @ @ \&rest @} +\end{describe} + + +\subsection{Very miscellaneous utilities} + +\begin{describe}{fun} + {frob-identifier @ \&key :swap-case :swap-hyphen + @> @} +\end{describe} + +\begin{describe}{fun} + {compose @ \&rest @ @> @} +\end{describe} + +\begin{describe}{mac}{defvar-unbound @ @ @> @} +\end{describe} + \begin{describe}{mac} {dosequence (@ @ @[[ :start @ @! :end @ @! - :indexvar @ @]]) \\ \ind - @^* \\ + :indexvar @ @]]) \\ \ind + @^* \\ @{ @ @! @ @}^*} \end{describe} @@ -195,17 +283,6 @@ These symbols are defined in the @|sod-utilities| package. @[[ :read-only @ @]]} \end{describe} -\begin{describe}{mac} - {default-slot (@ @ @[@@]) \\ \ind - @^*} -\end{describe} - -\begin{describe}{mac} - {define-on-demand-slot @ @ (@) \\ \ind - @[[ @^* @! @ @]] \\ - @^*} -\end{describe} - %%%-------------------------------------------------------------------------- \section{Condition utilities} \label{sec:misc.condition} @@ -218,13 +295,29 @@ These symbols are defined in the @|sod-parser| package. {enclosed-condition @ @> @} \end{describe} +\begin{describe}{cls}{information (condition) \&key} +\end{describe} + +\begin{describe}{cls} + {simple-information (simple-condition information) \\ \ind + \&key :format-control :format-arguments} +\end{describe} + +\begin{describe}{fun}{info @ \&rest @ @> @} +\end{describe} + +\begin{describe*} + {\dhead{rst}{noted} + \dhead{fun}{noted \&optional @}} +\end{describe*} + \begin{describe}{fun}{cerror* @ \&rest @} \end{describe} %%%-------------------------------------------------------------------------- \section{Option parser} \label{sec:misc.optparse} -These symbols are defined in the @!optparse| package. +These symbols are defined in the @|optparse| package. \begin{describe}{fun}{exit \&optional (@ 0) \&key :abrupt} \end{describe} @@ -254,9 +347,10 @@ These symbols are defined in the @!optparse| package. \end{describe} \begin{describe}{fun} - {make-option \=@ @ \+ \\ - \&optional @ \\ - \&key :tag :negated-tag :arg-optional-p :documentation \- + {make-option \=@ @ \+\\ + \&optional @ \\ + \&key :tag :negated-tag + :arg-optional-p :documentation \- \nlret @