lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Sun, Jul 28, 2013 at 4:42 PM, Jay Carlson <> 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.

/s/ Adam