Cartesian product of two or more lists: Difference between revisions
Cartesian product of two or more lists (view source)
Revision as of 14:21, 4 March 2024
, 3 months ago→{{header|langur}}
(Added Easylang) |
Langurmonkey (talk | contribs) |
||
Line 2,996:
</pre>
=={{header|langur}}==
<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]]
|