lua-users home
lua-l archive

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


> It happens that I'm currently using a callable table, but the one other
> function I have in the table I'm OK to get rid of. So I can switch it to a
> function instead of a table. I am sort of asking if that's OK, nothing will
> break because it's a function instead of a table. I guess I'm good to go?

Nothing will break. Modules are just chunks, so you could even return
a number if you wanted.