lua-users home
lua-l archive

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


On 05/12/2009 10:12, spir wrote:
Can we consider simply wrapping the whole expression inside (...)?
   function (x,y,z) (x+y*z)

This avoids the need for both '=' and an 'end' token.

Hey, I have an original idea! Why not use {}?
  function (x,y,z) { x+y*z }

Hum, on second thoughts, it doesn't look so new, now... ;)

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --