[Issue 4468] std.string.join() for lazy iterable of strings

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jul 30 06:54:22 PDT 2011


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



--- Comment #2 from bearophile_hugs at eml.cc 2011-07-30 06:54:17 PDT ---
This is a very common need. Another example:


import std.range;
void main() {
    auto aa = [1:["hello", "red"], 2:["blue", "yellow"]];
    auto r1 = join(aa.values); // OK
    auto r2 = join(aa.byValue()); // error
}

-- 
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