lua-users home
lua-l archive

Re: Suggestion: names-isolation-statement

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


пт, 12 июл. 2019 г. в 00:16, Egor Skriptunoff <egor.skriptunoff@gmail.com>:
>
> A new syntax:
> with white-list-of-names do
> ....
> end
May be word "explicit" or "only_with" better describe what's going on.
But idea is good.
And instead local <toclose> noname=setmetatable({},{__close=function()
body end})
defer do
 body
end

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