lua-users home
lua-l archive

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


  Why not chime in with this?

	local function foo()
	  ...
	  return foo()
	end

Because Lua does tail-call optimization, this won't blow the stack.

  -spc