If I have 2 lists ['a'; 'b'] and [1;2;3;4] I want to get something like [('a',2);('a',4);('b',3); ('b', 1)]. So the point is that I need to use all elements of second list once and I can use elements from the first one 0 or more times... I tried with List.combine but is always connects nth element of 1st list with nth element of the 2nd and list need to have same length as well...
↧