Re: Suggestion: names-isolation-statement
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Suggestion: names-isolation-statement
- From: Sergey Kovalev <kovserg33@...>
- Date: 2019年7月12日 09:32:24 +0300
пт, 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