lua-users home
lua-l archive

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


>         return (not b) and (a or 0) or sumofn(a+b,...)  -- proper tail call

This is not a tail call (in Lua). The number of results must be adjusted
to one before returning...

-- Roberto