lua-users home
lua-l archive

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


In message <956373d40612032359y2bd8e91di236c6ac0964a41b2@mail.gmail.com>
you wrote:


> There's allready in standard Metalua a notation "|x| foobar", which means
> "function(x) return foobar end". You can use it to write things like
> "plus_curry |x| |y| x+y", then use it as "plus_curry (3) (4)".

RiscLua permits the abbreviation "\(x) => foobar end". 
-- 
Gavin Wraith (gavin@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/