[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 09:36:17 -0200
> function (x,y,z) -> x+y*z
Except that '->' looks really ugly in the fonts I use because '-' and '>'
are not aligned at the middle.
We might as well go for the traditional lambda notation :-)
\x,y,z.x+y*z
With mandatory parentheses, this is amenable to token filtering...
\x,y,z.(x+y*z)