lua-users home
lua-l archive

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

> On 24 Jun 2016, at 19:20, Soni L. <> wrote:
> next() is supposed to be raw. You should be using `local f, o, i = pairs(obj)` and passing f, o and i around.

Huh, I didn't think of that, but obviously that solves my problem.  I can just patch my code with the following:

function next (t, k)
    return pairs(t)(t, k)

I retract my request.  Excuse the noise.