I have two sets, returned by Set.Make(t). I would like to generate every possible combination of the values in the two. How can I do this?
This works to generate some pairs, but not all:
List.combine (IntSet.elements odp) (IntSet.elements ftw)
This would do it in Java:
for (int i : ktr) {
for (int m : mnx) {
System.out.println(i + ", " + m);
}
}