Cartesian product of two or more lists: Difference between revisions

m
Minor code adjustment.
m (Minor code adjustment.)
Line 2,159:
var b = @['a', 'b']
var c = @[false, true]
letecho y&"{$$a} x {$$b} x {$$c} = {$$product(a, b, c)}"</lang>
echo &"{$$a} x {$$b} x {$$c} = {$$y}"</lang>
 
{{out}}
Anonymous user