Proposed D2 Feature: => for anonymous delegates

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sun Oct 18 20:08:31 PDT 2009


Jason House wrote:
> Am I the only one that has trouble remembering how to write an inline
> anonymous delegate when calling a function? At a minimum, both Scala
> and C# use (args) => { body; } syntax. Can we please sneak it into
> D2?

We have (args) { body; }

Andrei



More information about the Digitalmars-d mailing list