lua-users home
lua-l archive

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


2015-05-31 23:32 GMT+02:00 Tim Hill <drtimhill@gmail.com>:

> I’m fine with the Lua libraries not doing checking, but extending that to
> “no-one else should either” doesn’t seem a good argument to me.

If the routine is well documented and says "the table must be a proper
sequence or have a __len metamethod" as the table library does,
I don't have a problem with it.