Vocabulary

sequences

Inputs

Outputs

Word description

Outputs a sequence of all possible pairings of elements from the two sequences so that the output sequence is the exemplar's type.

Examples

See also

cartesian-find, cartesian-each, cartesian-map, cartesian-product

Definition

sequences

Inputs

seq1 | a sequence |

seq2 | a sequence |

exemplar | a sequence |

Outputs

newseq | a new sequence of sequences of pairs |

Word description

Outputs a sequence of all possible pairings of elements from the two sequences so that the output sequence is the exemplar's type.

Examples

USING: bit-arrays prettyprint sequences ;
"ab" ?{ t f } { } cartesian-product-as .

{ { { 97 t } { 97 f } } { { 98 t } { 98 f } } }

{ { { 97 t } { 97 f } } { { 98 t } { 98 f } } }

See also

cartesian-find, cartesian-each, cartesian-map, cartesian-product

Definition

This documentation was generated offline from a
`load-all`

image. If you want, you can also
browse the documentation from within the UI developer tools. See
the Factor website
for more information.

Factor 0.99 x86.64 (2173, heads/master-f3ee5c5979, Sep 18 2022 13:17:51)