[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [PATCH]: Lua Suggestion - assign functions *or* tables to __pairs/__pairs
- From: Tom N Harris <telliamed@...>
- Date: Mon, 23 Dec 2013 15:38:22 -0500
On Friday, December 20, 2013 10:35:25 AM Sir Pogsalot wrote:
> In some situations it would make sense to assign a table to
> __pairs/__ipairs -- similarly to how you can assign a table or function to
> __newindex/__index.
I was going to mention something about __call and whether a callable table
should be treated like a table or a function. But then I see that __index
currently ignores __call as well.
--
tom <telliamed@whoopdedo.org>