lua-users home
lua-l archive

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

Doing a lot of work with systems that work with values that are expected to be treated as immutable while working with "internal" mutable structures — e.g., caches — what I long for in Lua is a cheap way to have immutable data. Proxy tables feel fairly heavyweight and of course until you get to 5.2's __pairs metamethod not particularly transparent.