[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: __call?
- From: Gustavo Niemeyer <niemeyer@...>
- Date: Fri, 19 Dec 2003 18:39:16 -0200
> > 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.
[...]
It might be a good idea to at least fix the standard library in this
respect, either completely removing the type checking from table.foreach
and others, or implementing a generic checking mechanism.
--
Gustavo Niemeyer
http://niemeyer.net