[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: what to make of this fellow named __ipairs?
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 28 Jan 2011 13:50:55 -0200
> On Fri, Jan 28, 2011 at 16:52, Tony Finch <firstname.lastname@example.org> wrote:
> > On Fri, 28 Jan 2011, joao lobato wrote:
> >> What about the case when wants to discover the method name at runtime:
> > It may be worth allowing obj:[method](args)
> I certainly miss this feature often. Is it hard to implement?
Just write obj[method](obj, args).