lua-users home
lua-l archive

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


I agree with Duncan.
It would be like to the {} constructor and nothing changes.
Marco

On Wed, Jun 17, 2009 at 12:30 PM, Duncan Cross <duncan.cross@gmail.com> wrote:


On Wed, Jun 17, 2009 at 4:21 PM, Peter Cawley <lua@corsix.org> wrote:
It could be because Lua scripts already have a way to create tables.
If the standard libraries had a table.create function, then what
arguments would it take?  
(...)
* narray, nhash? In which case, the standard library API implies
things about the underlying implementation details of tables in other
implementations of Lua.

I would expect this. Why is that such a bad thing? Those other implementations can just ignore those parameters if the assumptions are untrue.

-Duncan




--
Marco Antonio Abreu
System Analist/Developer