extend foreach to work on non-arrays

Jordan Wilson wilsonjord at gmail.com
Fri May 25 02:43:39 UTC 2018


On Thursday, 24 May 2018 at 23:22:56 UTC, IntegratedDimensions 
wrote:
> the idea in the first place. I needed a hammer but no one 
> invented it. If I give you my use case then there would be two 
> main outcomes: You attempt to find a workaround for the use 
> case or claim that it is not applicable. These are the "I have 
> a rock that should work as good as that hammer thingy you want" 
> and "Hammers are useless".

3rd outcome: noobs like me who read the forums who benefit from 
such discussion.

Of course, you could be as disinterested in the 3rd outcome as 
you are the 1st and 2nd, and that's completely fair.

Jordan


More information about the Digitalmars-d mailing list