|
|
||
|
On 2019-10-27 7:00 a.m., Michal Kottman wrote:
On Sat, Oct 26, 2019, 7:37 PM Soni "They/Them" L. <fakedme@gmail.com
<mailto: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())"?
a "b" () --> a("b")()
(a b ()) --> a(b)()
it would remain consistent with existing language rules.