[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Short function definition syntax; thoughts on Lua (was Re: [ANN] GSL Shell new beta release...)
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 4 Dec 2009 16:24:54 -0200
> Or:
> function (x, y, z) x + y * z end
That's very hard to parse. Consider
function (x, y, z) x[<complicated expression>][z] end
versus
function (x, y, z) x[<complicated expression>](z) return f(x,y,z) end
which is valid right now.