Minor feature request

Steven Schveighoffer via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 28 06:50:42 PDT 2016


On 6/28/16 7:35 AM, Ola Fosheim Grøstad wrote:
> On Tuesday, 28 June 2016 at 11:22:38 UTC, Steven Schveighoffer wrote:
>> We pretty much have this with lambda syntax:
>>
>> (int arg) => arg
>
> alias func = (int i) => i*i;
>
> ?
>

Is that valid in the compiler, or are you proposing it? I haven't used 
or seen such a thing.

-Steve


More information about the Digitalmars-d mailing list