Why Ruby?

Andrew Wiley debio264 at gmail.com
Sat Dec 18 13:28:04 PST 2010


On Sat, Dec 18, 2010 at 12:09 PM, Jacob Carlborg <doob at me.com> wrote:
>
>
> Actually if it would be possible to skip the parentheses when the lambda
> take more than one argument I would be more happy with that:
>
> foo(x, y => x * y);
>
>
Pretty sure you'll need parenthesis. Should the above match:
func(int function(int, int))
or
func(int, int function(int))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20101218/28661ab8/attachment.html>


More information about the Digitalmars-d mailing list