random cover of a range

bearophile bearophileHUGS at lycos.com
Fri Feb 13 17:43:29 PST 2009


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



More information about the Digitalmars-d mailing list