If I wanted to use this, and wanted entry to be a module, could I just make a module that returns a function instead of a table?
local entry = require 'entry'
should still work.
I don't care about anything like being able to call entry.someFunc.
Is a module that is a function (not a table) a reasonable thing? Is it a common idiom (in this case)? Are there alternatives?
Appreciate feedback.