Function cartesianProduct
- cartesianProduct<A, B, C>(f): ((xs) => ((ys) => List<C>))
Parameters
f: ((a) => ((b) => C))
- (a): ((b) => C)
Returns ((b) => C)
Returns ((xs) => ((ys) => List<C>))
The list of products.
- (xs): ((ys) => List<C>)
Returns ((ys) => List<C>)
Creates the product of two lists with
f
. It is useful to exhaust value patterns of combinations.