Nemerle Documentation

List.Product Method 

Returns a product of lists stored in list [list]. Elements of result are lists of the same length = List.Length (list).

public static list Product(
   list list
);

Remarks

E.g.: Product ([[1, 2], [3, 4, 5]]) = [[1, 3], [1, 4], [1, 5], [2, 3], [2, 4], [2, 5]] Product ([[1, 2], [3, 4, 5], []]) = []

See Also

List Class | Nemerle.Collections Namespace