Summary: Cartesian product of ranges
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos

--- Comment #0 from 2011-12-18 09:20:32 PST ---
It's useful to have a cartesian product of ranges, like a std.range.product:

See also the handy design of Python itertools.product:

itertools.product(*iterables[, repeat]) 
Cartesian product of input iterables.

product('ABCD', 'xy') --> Ax Ay Bx By Cx Cy Dx Dy
product(range(2), repeat=3) --> 000 001 010 011 100 101 110 111

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to