Build all combinations of strings

Andrej Mitrovic andrej.mitrovich at gmail.com
Mon Jun 11 11:25:23 PDT 2012


On 6/11/12, Andrej Mitrovic <andrej.mitrovich at gmail.com> wrote:
> So that's not what I'm looking for.

Here's what I'm looking for, but in Python:
http://docs.python.org/library/itertools.html#itertools.combinations

They also have a version that has repeated elements:
http://docs.python.org/library/itertools.html#itertools.combinations_with_replacement

I wouldn't know how to translate that to D though.


More information about the Digitalmars-d-learn mailing list