X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/9a3cb4610ab59001fd44c13dcdc6ea206acf0e50..7d8d3a165fa725b686d1c89b78179a4d5705d11a:/doc/misc.tex diff --git a/doc/misc.tex b/doc/misc.tex index ac89b6c..859ec51 100644 --- a/doc/misc.tex +++ b/doc/misc.tex @@ -505,6 +505,15 @@ be implemented fairly easily using @|merge-lists| below. the partial order. \end{describe} +\begin{describe}{fun}{cross-product \&rest @} + Return the cross product of the @. + + Each arguments may be a list, or a (non-nil) atom, which is equivalent to a + singleton list containing just that atom. Return a list of all possible + lists which can be constructed by taking one item from each argument list + in turn, in an arbitrary order. +\end{describe} + \begin{describe}{fun} {find-duplicates @ @ \&key :key :test} Call @ on each pair of duplicate items in a @.