Denis Koroskin: > In ideal world I'd like to see the following permutations generator in std library, instead: In my dlibs there's already lazy versions for that, both lazy and eager, and more (but it's D1 code, not range-based): http://www.fantascienza.net/leonardo/so/dlibs/comb.html Bye, bearophile