lua-users home
lua-l archive

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


On 12/01/2008 00:08, Miles Bader wrote:
Incidentally, any syntactic reason not to allow other "parenthesis-less"
calls?

E.g., you can use:  fun 'blargh'
sometimes I'd kinda like to be able to use:  fun 3
as well...

Perhaps because fun 3+4 would look ambiguous and error prone? Somehow, the quotes *are* the delimiters of the function parameter, so they are no ambiguous.

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