Better lambdas!!!!!!!!!!
Jacob Carlborg via Digitalmars-d
digitalmars-d at puremagic.com
Sat Sep 12 07:47:30 PDT 2015
On 2015-09-10 23:03, Meta wrote:
> You could, but then doesn't that defeat the point a bit?
No, I don't think it does. For example in Scala you can do like this:
foo(_ < _)
Which would be the same as:
foo((a, b) a < b)
But if you want to use the same parameter more than once then you cannot
use the first syntax.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list