lua-users home
lua-l archive

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


On Sat, Oct 26, 2019, 7:37 PM Soni "They/Them" L. <fakedme@gmail.com> wrote:
In EXP context, but not EXPLIST context, I see no particular reason why
we couldn't do it with variables:

local foo = a b () -- equivalent to "local foo = a; b()"
local foo = (a b ()) -- equivalent to "local foo = a(b)()"

Can you explain how the second one works? Why is it not "a(b())"?