lua-users home
lua-l archive

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


> To the Lua authors, are there any plans for changes in 5.1 or later to
> address these issues?

Currently we have no plans to change that. As pointed out,
lua_isfunction is different from lua_iscallable. If you really want
that, it is quite easy to define a reasonable lua_iscallable using the
current API.

About "next" for non-tables: maybe "pairs" could look for a __next
metamethod to do the iteration; that is reasonable, but we have not
discussed that yet.

-- Roberto