$ lua
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
> x=0
> function f() print ("call #"..x); x=x+1; return f end
> foo, bar, gnu, gnat = f,f,f,f
> foo(bar)(gnu)(gnat)
call #0
call #1
call #2
> ^D
$ lua
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
> x=0
> function f() print ("call #"..x); x=x+1; return f end
> foo, bar, gnu, gnat = f,f,f,f
> foo(bar)
call #0
> (gnu)(gnat)
call #1
> ^D
The former is three nested calls; the latter is two calls of depth 1.