lua-users home
lua-l archive

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





On Sun, Aug 3, 2014 at 2:03 PM, Tom N Harris <telliamed@whoopdedo.org> wrote:
I'll have to remember this the next time I feel the urge to write `return
value, recursive_call(...)` which isn't a tail call. Although I've
occasionally thought the VM could pull some stack manipulation tricks to make
it a tail call.

--
tom <telliamed@whoopdedo.org>


Hmm... I had to look this up. I thought that `return value, recursive_call(...)` would be a tail call. I guess it isn't, given that `return fund(args)` is the required form.

--Andrew