X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/5d7e65b98fa4e766cef5259a0470d6d7555e77a0..64a7e6515e1e585b420c1c14acda9be9ff84c3db:/doc/misc.tex diff --git a/doc/misc.tex b/doc/misc.tex index ba76cd8..c253630 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,6 +79,9 @@ These symbols are defined in the @|sod-utilities| package. @
^*} \end{describe} + +\subsection{Anaphorics} + \begin{describe}{sym}{it} \end{describe} @@ -97,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} @@ -113,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} @@ -125,20 +157,35 @@ 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} + {distinguished-point-shortest-paths @ @ + @> @} +\end{describe} + \begin{describe}{mac} {categorize (\=@ @ @[[ :bind (@{ @ @! @@ -154,11 +201,14 @@ These symbols are defined in the @|sod-utilities| package. \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} @@ -171,15 +221,8 @@ These symbols are defined in the @|sod-utilities| package. @> @ @} \end{describe} -\begin{describe}{fun} - {compose @ \&rest @ @> @} -\end{describe} - -\begin{describe}{mac}{defvar @ @ @> @} -\end{describe} -\begin{describe}{fun}{symbolicate \&rest @ @> @} -\end{describe} +\subsection{Object printing} \begin{describe}{mac} {maybe-print-unreadable-object @@ -193,17 +236,12 @@ 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}{fun} @@ -213,15 +251,36 @@ These symbols are defined in the @|sod-utilities| package. \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} - {default-slot (@ @ @[@@]) \\ \ind - @^*} + {dosequence (@ @ + @[[ :start @ @! :end @ @! + :indexvar @ @]]) \\ \ind + @^* \\ + @{ @ @! @ @}^*} \end{describe} \begin{describe}{mac} - {define-on-demand-slot @ @ (@) \\ \ind - @[[ @^* @! @ @]] \\ - @^*} + {define-access-wrapper @ @ + @[[ :read-only @ @]]} \end{describe} %%%-------------------------------------------------------------------------- @@ -247,8 +306,10 @@ These symbols are defined in the @|sod-parser| package. \begin{describe}{fun}{info @ \&rest @ @> @} \end{describe} -\begin{describe}{rst}{noted} -\end{describe} +\begin{describe*} + {\dhead{rst}{noted} + \dhead{fun}{noted \&optional @}} +\end{describe*} \begin{describe}{fun}{cerror* @ \&rest @} \end{describe} @@ -256,7 +317,7 @@ These symbols are defined in the @|sod-parser| package. %%%-------------------------------------------------------------------------- \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} @@ -488,9 +549,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} @@ -560,7 +618,7 @@ These symbols are defined in the @!optparse| package. \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} @@ -568,7 +626,8 @@ These symbols are defined in the @!optparse| package. \begin{describe}{var}{*debugout-pathname*} \end{describe} -\begin{describe}{fun}{test-module @ \&key :reason @> @} +\begin{describe}{fun} + {test-module @ \&key :reason :clear :backtrace @> @} \end{describe} \begin{describe}{fun} @@ -576,6 +635,11 @@ 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 (@ \&key :backtrace) @ @ @> @ @ @}