Re: Functions with individual metatables
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Functions with individual metatables
- From: Peter Cawley <lua@...>
- Date: 2009年5月25日 18:38:36 +0100
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.