[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Functions with individual metatables
- From: Peter Cawley <lua@...>
- Date: Mon, 25 May 2009 18:38:36 +0100
On Mon, May 25, 2009 at 6:18 PM, Petite Abeille <email@example.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.