[Issue 9878] std.algorithm.cartesianProduct results order

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 28 02:56:27 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9878



--- Comment #3 from bearophile_hugs at eml.cc 2013-05-28 02:56:25 PDT ---
(In reply to comment #2)

> where I suggest to give a template parameter to specify
> lexicographic/antilexicographic, along with depth first/breadth first.

If you want to add an option to specify the ordering, then I'd like the order
discussed here (lexicographic) to be the default one, because it's the most
commonly needed by me, and it's what I expect when I port Python code to D.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list