What would you call the function that takes a list of
n lists of values, and returns a list of all the unique lists of length
n where the
ith element is chosen from the
ith input list?
[[a,b], [c], [d, e]] => [[a,c,d], [a,c,e], [b,c,d], [b,c,e]]
At first I called it
permute, but then I realized that would be the function that takes a single list and return all possible orderings, e.g.
[1,2,3] => [[1,2,3], [1,3,2], [2,1,3], ... or something similar.