[Issue 11927] a good proposal

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Apr 28 06:39:29 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=11927

Ivan Kazmenko <gassa at mail.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gassa at mail.ru

--- Comment #4 from Ivan Kazmenko <gassa at mail.ru> ---
The second one proposes to allow a lambda without types, as in:

alias f=(x)=>x+1;

So it can be used for different types:

    f(1);
    f(1.0);

--


More information about the Digitalmars-d-bugs mailing list