You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Idea 7184398: Cartesian product function for collections
Status : planned Submitted by luketopia on 3/8/2015 12:00:00 AM 7 votes
It's often useful to compute the Cartesian product (cross join) of two collections. I always end up writing something like this:
let cross xs ys =
seq {
for x in xs do
for y in ys ->
x, y
}
I think it would be useful to have this in the standard collection modules.
Activity