lua-users home
lua-l archive

Re: Strong tables in Lua 5.4

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


2018年03月27日 5:21 GMT+02:00 Eric Man <meric.au@gmail.com>:
> What was the reason we don't use:
>
> setmetatable(t, { __mode = 'strong' })
It uses too many letters.
At present 'k' means keys are weak, 'v' means values are weak. Just
's' or maybe 'S' (strong feels as it it should be capitalized) would
be enough.

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