The One-Letter Nested Function - a sample article for some kindof D "gems" website

Daniel Murphy yebblies at
Mon Feb 13 08:45:05 PST 2012

"David Nadlinger" <see at> wrote in message 
news:jhbdnb$21sb$1 at
>> auto u = function (int a, int b) =>  cast(ubyte)uniform(a, b);
>> Should do it.
> I know it currently isn't, but shouldn't this be inferred as per TDPL 
> anyway?
> David

Yes, it's just a way to force it. 

More information about the Digitalmars-d mailing list