[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: __method metamethod
- From: Coda Highland <chighland@...>
- Date: Sun, 28 Jul 2013 18:50:52 -0700
On Sun, Jul 28, 2013 at 4:42 PM, Jay Carlson <email@example.com> wrote:
> On Jul 27, 2013, at 2:47 PM, Mark Hamburg wrote:
>> I used to want the colon operator raised to first-class status where it could then have a metamethod, but I never found a formulation that really seemed useful. (Someone can go find my old postings on the topic and point out how much I forget...)
> I have a very bad feeling about creating *half* an extra namespace. We might as well make it an lvalue too: __setmethod.
I still think that __index is sufficient here; I have a very bad
feeling about having a.b and a:b reference different concepts.