how to iterate over an AA by key-value pair (tuple)?

Timothee Cour thelastmammoth at gmail.com
Thu Feb 13 15:56:22 PST 2014


how to iterate over an AA by key-value pair (tuple)?
use case:
avoid interrupting UFCS chains, eg:
foo.generate_aa.byKeyValue.filter!(a=>a[0].isLower).map!(a=>a[1]) ...
of course I could roll my own function but I was wondering if there's
already a way.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20140213/0d346622/attachment-0001.html>


More information about the Digitalmars-d-learn mailing list