reading file byLine
Edwin van Leeuwen via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Sep 18 05:58:44 PDT 2015
On Friday, 18 September 2015 at 12:28:29 UTC, Namal wrote:
> So do I understand it right: does => in map! indicates a
> lambda function?
Yes exactly. There are a number of ways you can define a lambda
function in D. For example if the function is multiline I often
use:
(l) {
...; // do something
return result;
}
More details here http://ddili.org/ders/d.en/lambda.html (half
way down the page)
More information about the Digitalmars-d-learn
mailing list