4 ms·
That actually seems confusing. I would normally expect such code to perform a Cartesian product i.e. all pairs of (x,y).
by ssivark 5y ago
That actually seems confusing. I would normally expect such code to perform a Cartesian product i.e. all pairs of (x,y).
- dwohnitmok 5y agoIt would be a Cartesian product if the second `|` was changed to `,` (as is the case in the article and most examples in this comment section).