[Issue 5466] Associative array byPair

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jan 17 14:17:52 PST 2012


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


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|AA ranges                   |Associative array byPair


--- Comment #1 from bearophile_hugs at eml.cc 2012-01-17 14:17:49 PST ---
After the work done for issue 4607 this is missing still:

import std.stdio, std.typecons, std.algorithm;
void main() {
    auto aa = [1:'a', 2:'b', 3:'c'];
    auto r = map!q{ tuple(a[0]*10, a[1]~a[1]) }(aa.byPair());
    writeln(r);
}


Also clarified the title of this issue.

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