No aa.byKey.length?

John Colvin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Apr 4 04:49:40 PDT 2016


On Monday, 4 April 2016 at 02:32:56 UTC, Yuxuan Shui wrote:
> 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?

Yes. But until that happens, my workaround allows you to carry on 
getting work done :)


More information about the Digitalmars-d-learn mailing list