Anonymous user
Permutations: Difference between revisions
Updated third D entry
(→{{header|Perl}}: Clean up perl4-ish code, and add modules) |
(Updated third D entry) |
||
Line 1,215:
===Standard Version===
<lang d>
import std.stdio, std.algorithm;
auto items = [1, 2, 3];
do
while (items.nextPermutation
}</lang>
|