X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/a13386ba3e5cbeecd0e4315a423e3280dabf0f1c..0a8f78ec333b8193d1155b5839aea67bb62cf480:/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 @.