[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Global Metatables
- From: RJ Russell <russellsprouts2@...>
- Date: Sat, 4 Sep 2010 22:08:54 -0700
Yes they do, I remembered as soon as I sent it.
On Sat, Sep 4, 2010 at 3:39 PM, HyperHacker <email@example.com> wrote:
> On Sat, Sep 4, 2010 at 16:23, Jonathan Castello <firstname.lastname@example.org> wrote:
>> On Sat, Sep 4, 2010 at 3:14 PM, RJ Russell <email@example.com> wrote:
>>> In 5.2, I think it would be great if we could set metatables for ALL
>>> tables and ALL functions, much like you can set it for all strings and
>>> all numbers.
>> Functions already share a single metatable, don't they?
> A while ago I was thinking how useful it could be to set a default
> metatable for newly-created tables. I did put together a patch for it,
> but it's a nasty hack and I haven't been actually using it.
> Sent from my toaster.