Few recent dmd pull requests

Meta via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 26 09:03:14 PDT 2014


On Thursday, 26 June 2014 at 10:38:54 UTC, bearophile wrote:
> https://github.com/D-Programming-Language/dmd/pull/3638
>
> Allows to write code like:
>
>
> void main() {
>     import std.algorithm;
>     alias sqr = a => a ^^ 2;
>     auto r = [1, 2, 3].map!sqr;
> }

So if this pull request gets merged, should we deprecate 
std.functional.unaryFun and binaryFun? I don't see much need for 
them with this pull merged.


More information about the Digitalmars-d mailing list