add cartesian product
This commit is contained in:
@@ -111,6 +111,7 @@ export interface Sequence<TElement> extends Iterable<TElement> {
|
||||
forEach(action: Action<TElement>): void;
|
||||
|
||||
zip<TOther>(sequence: Iterable<TOther>): Sequence<[TElement, TOther]>;
|
||||
cartesianProduct<TOther>(sequence: Iterable<TOther>): Sequence<[TElement, TOther]>;
|
||||
|
||||
indexed(): Sequence<[number, TElement]>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user