lua-users home
lua-l archive

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


>> Right... in Lua... named parameters would be a table:
>> f( { a = b, c = d, ...  } )

> Which is the main reason why parentheses around table arguments are made
> optional:
> f{ a=b, c=d }

I've always thought that the main reason was to support declarative
syntax, derived from SOL.

...But, perhaps, these are two different angles on the same thing.

Alexander.