[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Why no pairs() for userdata, __len for tables?
- From: Thomas Lauer <thomas.lauer@...>
- Date: Thu, 19 Apr 2007 16:35:18 +0100
"Jose Luis Hidalgo" <email@example.com> wrote:
> > There may be very good reasons why there's no metamethod support for
> > this. If so, can anyone light a candle?
> I'm not sure if is there any reason, but maybe this can help you, it
> is a replacement of pairs written in pure lua.
Thanks. I had already seen this and similar attempts. I do something
similar right now.
However, what I'd like to know is whether this lack of metamethod is
indeed by design.