<product-sequence> ( sequences -- product-sequence )
Product sequences

Prev:product-sequence
Next:product-map ( ... sequences quot: ( ... seq -- ... value ) -- ... sequence )


Vocabulary
sequences.product

Inputs and outputs
sequencesa sequence
product-sequencea product-sequence


Word description
Constructs a product-sequence over sequences.

Examples
USING: arrays prettyprint sequences.product ; { { 1 2 3 } { "a" "b" "c" } } <product-sequence> >array .
{ { 1 "a" } { 2 "a" } { 3 "a" } { 1 "b" } { 2 "b" } { 3 "b" } { 1 "c" } { 2 "c" } { 3 "c" } }


See also
product-sequence

Definition