Anonymous user
Permutations: Difference between revisions
m
→Lazy version: missing imports
m (→Lazy version: missing imports) |
|||
Line 853:
===Lazy version===
With same main function produces the same output:
<lang d>
struct Permutations(T) {
private immutable size_t num;
private T[] items;
|