Top 5
Leandro Lucarella
llucax at gmail.com
Thu Oct 9 07:12:14 PDT 2008
Mike, el 8 de octubre a las 16:51 me escribiste:
> 2. Attributes - and deprecate some keywords we wouldn't need anymore
>
> // just an example; I don't really want to pick on foreach_reverse, although I wouldn't mind if it died :)
>
> foreach_reverse(a; b) { ... }
>
> [reversed] foreach(a; b) { ... }
I once saw somebody proposing template-like syntax for this:
foreach!(reversed)(a; b) { ... }
But, well, I think first all the new-template-syntax fuzz has to stop ;)
--
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------
For me to ask a woman out, I've got to get into a mental state like the karate
guys before they break the bricks.
-- George Constanza
More information about the Digitalmars-d
mailing list