Permutations: Difference between revisions

+ tag in Faster Lazy Version
(Better lazy D entry)
(+ tag in Faster Lazy Version)
Line 851:
[3, 1, 2]
[3, 2, 1]</pre>
===Faster Lazy versionVersion===
{{incorrect|D|This version is designed to sort indexes only.}}
Compiled with <code>-version=permutations2_main</code> produces the same output:
<lang d>import std.algorithm, std.exception;