Jump to content

Cartesian product of two or more lists: Difference between revisions

(Added Easylang)
Line 2,996:
</pre>
=={{header|langur}}==
{{works with|langur|0.8.11}}
<syntaxhighlight lang="langur">writeln mapX(f(... .x) .x, [1, 2], [3, 4]) == [[1, 3], [1, 4], [2, 3], [2, 4]]
writeln mapX(f(... .x) .x, [3, 4], [1, 2]) == [[3, 1], [3, 2], [4, 1], [4, 2]]
990

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.