X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/020b9e2b4364c61a668d47c4c5405295349817d8..8a7afc76fd5f929de335cf318741e3489d6c6107:/doc/misc.tex diff --git a/doc/misc.tex b/doc/misc.tex index 5bf3e18..05f5619 100644 --- a/doc/misc.tex +++ b/doc/misc.tex @@ -30,6 +30,9 @@ These symbols are defined in the @|sod-utilities| package. + +\subsection{Macro utilities} + \begin{describe}{mac} {with-gensyms (@{ @ @! (@ @[@@]) @}^*) \\ \ind @^* \\ @@ -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} @@ -70,12 +79,18 @@ These symbols are defined in the @|sod-utilities| package. @
^*} \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,18 +157,33 @@ 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) :present @> @} +\end{describe} + + +\subsection{Other list utilities} + +\begin{describe}{fun} + {mappend @ @ \&rest @ @> @} +\end{describe} + \begin{describe}{fun} - {merge-lists @ \&key :pick (:test \#'eql) @> @} + {distinguished-point-shortest-paths @ @ + @> @} \end{describe} \begin{describe}{mac} @@ -143,16 +193,22 @@ These symbols are defined in the @|sod-utilities| package. \\ \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} @@ -165,12 +221,8 @@ 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 @@ -184,49 +236,83 @@ These symbols are defined in the @|sod-utilities| package. \begin{describe}{fun}{print-ugly-stuff @ @ @> @^*} \end{describe} -\begin{describe}{mac} - {dosequence (@ @ - @[[ :start @ @! :end @ @! - :indexvar @ @]]) \\ \ind - @^* \\ - @{ @ @! @ @}^*} -\end{describe} -\begin{describe}{mac} - {define-access-wrapper @ @ - @[[ :read-only @ @]]} +\subsection{Condition utilities} + +\begin{describe}{cls} + {simple-control-error (control-error simple-error) + \&key :format-control :format-arguments} \end{describe} -\begin{describe}{mac} - {default-slot (@ @ @[@@]) \\ \ind - @^*} +\begin{describe}{fun} + {designated-condition + \=@ @ @ \\ + \>\&key :allow-pointless-arguments + \nlret @} \end{describe} -\begin{describe}{mac} - {define-on-demand-slot @ @ (@) \\ \ind - @[[ @^* @! @ @]] \\ - @^*} +\begin{describe}{fun} + {invoke-associated-restart @ @ \&rest @} \end{describe} -%%%-------------------------------------------------------------------------- -\section{Condition utilities} \label{sec:misc.condition} +\begin{describe*} + {\dhead{cls}{enclosing-condition (condition) \&key :condition} + \dhead{gf}{enclosed-condition @ @> @}} +\end{describe*} -These symbols are defined in the @|sod-parser| package. +\begin{describe}{cls}{information (condition) \&key} +\end{describe} -\begin{describe}{cls}{enclosing-condition (condition) \&key :condition} +\begin{describe}{cls} + {simple-information (simple-condition information) \\ \ind + \&key :format-control :format-arguments} \end{describe} -\begin{describe}{gf} - {enclosed-condition @ @> @} +\begin{describe*} + {\dhead{fun}{info @ \&rest @ @> @} + \dhead{rst}{noted} + \dhead{fun}{noted \&optional @}} +\end{describe*} + +\begin{describe}{fun} + {promiscuous-cerror @ @ \&rest @} \end{describe} \begin{describe}{fun}{cerror* @ \&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 + @^* \\ + @{ @ @! @ @}^*} +\end{describe} + +\begin{describe}{mac} + {define-access-wrapper @ @ + @[[ :read-only @ @]]} +\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} @@ -458,9 +544,6 @@ These symbols are defined in the @!optparse| package. \dhead{fun}{setf (p-seenp @) @}} \end{describe*} -\begin{describe}{gf}{decode-property @ @> @ @} -\end{describe} - \begin{describe}{gf} {coerce-property-value @ @ @ @> @} \end{describe} @@ -520,12 +603,17 @@ These symbols are defined in the @!optparse| package. \end{describe} \begin{describe}{fun} + {parse-property @ @ + @> @ @ @} +\end{describe} + +\begin{describe}{fun} {parse-property-set @ @> @ @ @} \end{describe} %%%-------------------------------------------------------------------------- -\section{Miscellaneous translator features} \label{sec:misc.pset} +\section{Miscellaneous translator features} \label{sec:misc.misc} \begin{describe}{var}{*sod-version*} \end{describe} @@ -533,7 +621,8 @@ These symbols are defined in the @!optparse| package. \begin{describe}{var}{*debugout-pathname*} \end{describe} -\begin{describe}{fun}{test-module @ @} +\begin{describe}{fun} + {test-module @ \&key :reason :clear :backtrace @> @} \end{describe} \begin{describe}{fun} @@ -541,9 +630,14 @@ These symbols are defined in the @!optparse| package. @> t @ @ @ @! nil @} \end{describe} +\begin{describe}{fun} + {test-parse-pset @ + @> t @ @! nil @} +\end{describe} + \begin{describe}{mac} - {test-parser (@) @ @ - @> @ @ @} + {test-parser (@ \&key :backtrace) @ @ + @> @ @ @} \end{describe} \begin{describe}{fun}{exercise}