[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Short function definition syntax; thoughts on Lua
- From: David Kastrup <dak@...>
- Date: Mon, 07 Dec 2009 15:20:16 +0100
"Juris Kalnins" <juris@mt.lv> writes:
> There was a nice proposal in another message,
> Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
>> And one possible syntax could be
>> function (x,y,z)=x+y*z
>
> function (x,y,z = x+y*z), which doesn't have issues with finding
> expression end would be even nicer.
And both are an entire token shorter than what we have now. And the
latter looks only a little bit like initialized function arguments.
And the former only a little bit like an assignment.
And I look only a little bit exasperated.
--
David Kastrup
- References:
- [ANN] GSL Shell new beta release with anti-gran graphics module, Francesco Abbate
- Re: [ANN] GSL Shell new beta release with anti-gran graphics module, steve donovan
- Re: [ANN] GSL Shell new beta release with anti-gran graphics module, David Kastrup
- Re: [ANN] GSL Shell new beta release with anti-gran graphics module, Norman Ramsey
- Re: [ANN] GSL Shell new beta release with anti-gran graphics module, David Kastrup
- Re: [ANN] GSL Shell new beta release with anti-gran graphics module, Norman Ramsey
- Short function definition syntax; thoughts on Lua (was Re: [ANN] GSL Shell new beta release...), Doug Rogers
- Re: Short function definition syntax; thoughts on Lua (was Re: [ANN] GSL Shell new beta release...), steve donovan
- Re: Short function definition syntax; thoughts on Lua (was Re: [ANN] GSL Shell new beta release...), Luiz Henrique de Figueiredo
- Re: Short function definition syntax; thoughts on Lua (was Re: [ANN] GSL Shell new beta release...), spir
- Re: Short function definition syntax; thoughts on Lua, David Kastrup
- Re: Short function definition syntax; thoughts on Lua, spir
- Re: Short function definition syntax; thoughts on Lua, Mark Hamburg
- Re: Short function definition syntax; thoughts on Lua, Juris Kalnins