lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> 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)