lua-users home
lua-l archive

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


2018-03-20 0:38 GMT+02:00 Soni "They/Them" L. <fakedme@gmail.com>:
>
> Let's talk about non-lexical lexical scopings. That is, the ability to undefine variables.
,,,
>   forget a
...
>   local a, a, a = 1, 2, 3
This assumes something about implementation of multiple assignment
that Lua does not promise.
...
> I think this sounds neat. What do you think?

`forget a` looks evocative [1]. But `pop(a)` is the more usual word
for this sort of thing.

[1] https://xkcd.com/379/