String lambdas
tsbockman via Digitalmars-d
digitalmars-d at puremagic.com
Tue Apr 26 11:03:47 PDT 2016
On Tuesday, 26 April 2016 at 17:58:22 UTC, Andrei Alexandrescu
wrote:
> One thing we really need in order to 100% replace string
> lambdas with lambdas is function equivalence.
One significant - but undocumented - feature of unaryFun and
binaryFun, is that they will auto-import the following modules if
needed:
import std.traits, std.typecons, std.typetuple;
import std.algorithm, std.conv, std.exception, std.math,
std.range, std.string;
Does anyone actually use this feature?
More information about the Digitalmars-d
mailing list