lua-users home
lua-l archive

Re: Cons, tuple and __slots__ -- a simple mechanism to implement them in Lua

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


> As you say, I need to take more attention to the garbage part of
> language :( I will try to understand it. But, what I most what to know
> is about this idea, can this idea be merge into Lua 5.2? Or any other
> implement of tuple (not only with userdata) can be merge to Lua 5.2?
> Is there any plans to do this? Just interesting with this topic :)
Currently we have no plans to add this to Lua. I guess other members of
the list already presented reasons for that.
(Note that it is already easy to implement tuples using C closures; see
PiL 2nd edition page 255.)
-- Roberto

AltStyle によって変換されたページ (->オリジナル) /