reading file byLine
Ali Çehreli via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Sep 18 08:19:03 PDT 2015
On 09/18/2015 05:58 AM, Edwin van Leeuwen wrote:
> 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)
As of a few hours ago, you can go to the book index and search for =>,
or lambda, or anything else. :)
http://ddili.org/ders/d.en/ix.html
(Excuse the page format for now.)
Ali
More information about the Digitalmars-d-learn
mailing list