<div dir="ltr">I filed the website bug in bugzilla, and posted pull request.<div><br></div><div><a href="http://d.puremagic.com/issues/show_bug.cgi?id=10605">http://d.puremagic.com/issues/show_bug.cgi?id=10605</a> <br></div>
<div><a href="https://github.com/D-Programming-Language/dlang.org/pull/351">https://github.com/D-Programming-Language/dlang.org/pull/351</a> <br></div><div><br></div><div>Kenji Hara</div></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">2013/7/11 Kenji Hara <span dir="ltr"><<a href="mailto:k.hara.pg@gmail.com" target="_blank">k.hara.pg@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">This is accepts-valid behavior.<div><br></div><div>function(parameters) => expr</div><div><br></div><div>means the combination of:</div><div><br></div><div>1. specifying "context pointer is not necessary"</div>
<div>2. lambda syntax "(parameters) => expr"</div><div><br></div><div>I think website documentation has a bug.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Kenji Hara</div><div><br></div>
</font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
2013/7/10 Brian Schott <span dir="ltr"><<a href="mailto:briancschott@gmail.com" target="_blank">briancschott@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
While finishing up work on my parser and grammar specification I found this in container.d:<br>
<br>
return equal!(function(Elem a, Elem b) => !_less(a,b) && !_less(b,a))<br>
(thisRange, thatRange);<br>
<br>
It seems to be some strange hybrid of the function literal syntax and the lambda syntax. It's not documented anywhere (surprise!) and I'm not sure if I should support it or file an accepts-invalid bug against DMD.<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>