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

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


Vocabulary
sequences.product

Inputs
sequencesa sequence


Outputs
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" } { 1 "b" } { 1 "c" } { 2 "a" } { 2 "b" } { 2 "c" } { 3 "a" } { 3 "b" } { 3 "c" } }


See also
product-sequence

Definition