Custom Blocks

Nick Sabalausky a at a.a
Tue Aug 10 12:19:25 PDT 2010


"cemiller" <chris at dprogramming.com> wrote in message 
news:op.vg8kr7h9ycwdcp at mapddrule1.ffe.foxeg.com...
> On Mon, 09 Aug 2010 20:21:25 -0700, Andrei Alexandrescu 
> <SeeWebsiteForEmail at erdani.org> wrote:
>>
>> fun(a, b, c) { body }
>>
>>   |
>>   V
>>
>> fun((a, b, c) { body });
>>
>
> I think this way will be better:
>    fun(a, b, c) { body }
>      |
>      V
>    fun(a, b, c, { body });
>

I was thinking something like this:

void fun(int x, int y, int z, delegate void(int, int, int) dg)

fun(x, y, z, a, b, c) { body }

  |
  V

fun(x, y, z, (a, b, c) { body });





More information about the Digitalmars-d mailing list