Anonymous function syntax

hhaammaadd h.battel at hotmail.com
Thu Sep 22 18:44:29 PDT 2011


On 09/22/2011 01:17 AM, Walter Bright wrote:
> I've collected a few from various languages for comparison:
>
> D
> (a,b) { return a + b; }
>

I prefer to make "return" optional as the argument type



More information about the Digitalmars-d mailing list