No aa.byKey.length?

Yuxuan Shui via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Apr 3 19:32:56 PDT 2016


On Monday, 4 April 2016 at 00:50:27 UTC, Jonathan M Davis wrote:
> On Sunday, April 03, 2016 23:46:10 John Colvin via 
> Digitalmars-d-learn wrote:
>> On Saturday, 2 April 2016 at 16:00:51 UTC, Jonathan M Davis 
>> wrote:
>> > [...]
>>
>> Maybe
>>
>> aa.byKey().takeExactly(aa.length)
>
> Yeah, that's a clever workaround.
>
> - Jonathan M Davis

So should we not add length to byKey?


More information about the Digitalmars-d-learn mailing list