Automatic Foreach

Jarrod qwerty at ytre.wq
Mon Apr 28 02:52:44 PDT 2008


> What do you think?
I think Walter really needs to get macros implemented in D.

Then we could all make our own little specific loops, which is far more 
reasonable. Your idea is well demonstrated, but I don't like the syntax. 
It doesn't really tell you what is going on just by looking at it.


PS: You also might want to look at 'map' in phobos2's std.algorithm. 



More information about the Digitalmars-d mailing list