DMD 0.161 release
David Medlock
noone at nowhere.com
Thu Jun 29 12:12:19 PDT 2006
Jarrett Billingsley wrote:
> "Walter Bright" <newshound at digitalmars.com> wrote in message
> news:e7832r$g4h$1 at digitaldaemon.com...
>
>>Mostly bug fixes.
>>
>>http://www.digitalmars.com/d/changelog.html
>
>
> Oh man, those delegate literals look like it would be very possible to make
> interesting "pseudo-structures," that is, fake language constructs. So if
> you were to define a function as
>
> void func(void delegate() dg);
>
> That is, the last parameter is a void delegate(), it would be an interesting
> bit of syntactic sugar to be able to write
>
> func
> {
> writefln("foo");
> }
>
> Not sure what utility this would present, but hey!
>
>
Deja Vu?
http://www.digitalmars.com/d/archives/digitalmars/D/24770.html
hehe.
More information about the Digitalmars-d-announce
mailing list