Zip vs Enumerate

Cym13 cpicard at openmailbox.org
Wed Jun 20 04:44:43 UTC 2018


On Wednesday, 20 June 2018 at 04:40:42 UTC, Cym13 wrote:
> On Wednesday, 20 June 2018 at 03:44:58 UTC, Jordan Wilson wrote:
>> [...]
>
> This sounds like a very limited case: if you're not zipping 
> against a iota(foo) then there's no comparing with enumerate, 
> they simply don't do the same thing at all, and if you are then 
> it sounds like enumerate expresses the purpose of using an 
> index way better than a zipped iota IMHO.
>
> Is there anything about your true use case that would be worth 
> mentionning to better understand your situation?

My bad, I didn't read your example thoroughly enough.


More information about the Digitalmars-d-learn mailing list