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