lua-users home
lua-l archive

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


>> Lua 5.0 will support this: tostring in the baselib will look at __tostring
>> in an object's metatable and call this if set.
>
>Excellent!  I had implemented that myself (I called it __typename, but
>__tostring is probably clearer).  I was hoping you'd make it a function,

It is a function.

>When will we b able to get an updated work, or alpha release of
>5.0?

5.0 alpha should be out by Friday.
--lhf