I dun a DIP, possibly the best DIP ever

Walter Bright newshound2 at digitalmars.com
Fri Apr 24 22:42:13 UTC 2020


On 4/24/2020 1:49 AM, Manu wrote:
> static foreach is not an expression, and it's very hard to involve those result 
> calls in some conjunction. Expand that code to || them together... it gets ugly 
> real fast.
> I wouldn't have wasted my time writing this DIP and a reference implementation 
> if static foreach was fine.

This is why I suggested in the "Challenge" thread that these need to be 
motivating examples in the proposed DIP, not the ones that are in there, which 
are not particularly motivating.


More information about the Digitalmars-d mailing list