lua-users home
lua-l archive

Re: Userdata environment example (Re: GC method for objects)

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


What would be an interesting thing is to have the closure C syntax (that's what you mean by upvalues, right?) transparently supported via this new mechanism. Such code would also show the way as to how to convert away from upvalue/closures to these environment/closures.
-ak
24.4.2005 kello 20:15, Mark Hamburg kirjoitti:
 Returning to the issue of function environments, is there a reason to
preserve support for upvalues for C functions given environment tables? I'm not necessarily advocating their removal, but it seems like the environments
mechanism may have significantly diminished their value.

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