lua-users home
lua-l archive

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


On Thu, Dec 20, 2018 at 7:54 PM Soni "They/Them" L. <fakedme@gmail.com> wrote:
local a,b,c = generator_fn()
a(b,-1)
a(b,1024)

?

Ah yes. I forgot that one could obtain and call the iterator function directly with arbitrary values. I told you I was rusty (but apparently not in the area I thought I was). Maybe I should start using less Python and more Lua to keep the latter skills up.