lua-users home
lua-l archive

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


On Thu, Jul 4, 2019 at 12:47 AM Sergey Kovalev wrote:

If we would have pure function declaration this problem causes less pain.
Pure function like ordinary function but isolated from global and
up-values.

Pure functions are quite rare.
Upvalues are almost everywhere in Lua :-)