Vocabulary

sequences.product

Class description

A class of virtual sequences that present the cartesian product of their underlying set of sequences. Product sequences are constructed with the <product-sequence> word.

Examples

See also

<product-sequence>

Definition

Methods

sequences.product

Class description

A class of virtual sequences that present the cartesian product of their underlying set of sequences. Product sequences are constructed with the <product-sequence> word.

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" } }

{ { 1 "a" } { 2 "a" } { 3 "a" } { 1 "b" } { 2 "b" } { 3 "b" } { 1 "c" } { 2 "c" } { 3 "c" } }

See also

<product-sequence>

Definition

Methods