lua-users home
lua-l archive

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


Just pondering, why do we have to write:
require("bread")
require("butter")
require("jelly")

instead of:
require("bread", "butter", "jelly")

Is there anything preventing this? The one issue I can see is when modules return multiple values, but this could be solved by packing them into tables (and/or adjusting the number of return values from a module to 1).