Given two lists, [a, b] and [c, d], I\'d like to get the following result:
[a, b]
[c, d]
[(a,c), (a,d), (b
[ (x,y) | x<-[a,b], y<-[c,d] ]
This doesn't really require any further explanation, does it?