VocabularysequencesInputsOutputsnewseq | a new sequence of sequences of pairs |
Word descriptionOutputs a sequence of all possible pairings of elements from the two sequences so that the output sequence is the exemplar's type.
ExamplesUSING: bit-arrays prettyprint sequences ;
"ab" ?{ t f } { } cartesian-product-as .
{ { { 97 t } { 97 f } } { { 98 t } { 98 f } } }
See alsocartesian-find,
cartesian-each,
cartesian-map,
cartesian-productDefinition