Anonymous function syntax

Cristi Cobzarenco cristi.cobzarenco at gmail.com
Thu Sep 22 14:07:28 PDT 2011


---
Cristi Cobzarenco
BSc in Artificial Intelligence and Computer Science
University of Edinburgh
Profile: http://www.google.com/profiles/cristi.cobzarenco



On 22 September 2011 22:03, Steven Schveighoffer <schveiguy at yahoo.com> wrote:
> On Thu, 22 Sep 2011 16:54:55 -0400, Andrei Alexandrescu
> <SeeWebsiteForEmail at erdani.org> wrote:
>
>
>> 4. Add this rewrite to the grammar:
>>
>> (comma_separated_parms) => expression
>>
>> translates to
>>
>> (comma_separated_parms) => expression
>
> Am I missing something here?
>
> -Steve
>

Of course he meant (comma_separated_parms) { return expression; }


More information about the Digitalmars-d mailing list