lua-users home
lua-l archive

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


On Mon, May 25, 2009 at 6:18 PM, Petite Abeille <petite_abeille@mac.com> wrote:
> Perhaps I'm totally missing the point, but... what's the difference between
> a function with a metatable and a table with a call metamethod?

Functors (things which act like functions but are not of type
function) cannot be passed to [standard] library functions which
blindly check for a function rather than a callable object.