pineapplemachine / higher

Lazy and async higher-order functions in JavaScript.
Other
3 stars 0 forks source link

Add cartesian product sequence #32

Open pineapplemachine opened 7 years ago

pineapplemachine commented 7 years ago

Higher should have a sequence for enumerating the ordered pairs produced by the cartesian product of any number of input sequences.

https://en.wikipedia.org/wiki/Cartesian_product

pineapplemachine commented 7 years ago

Related: https://dlang.org/phobos/std_algorithm_setops.html#cartesianProduct