Okay, let's see if the community can just come together to define the
minimum viable module for directory functions. […]
cat = list([name])
Obtain a list of files in the given directory; if not given,
use the current working directory. Return an array of
names, or nil on error (error reporting TBD).
NOTE: The ordering of entries is unspecified.
None of modules I've listed have this specific
functionality.
fun,state,var = glist([name])
Returns an interator (function, state, var) for use in a for
statement. Each time the function is called, a new filename
is returned.
NOTE: The ordering of entries is unspecified.
All three modules have this function, although
it's called files() under luaposix.