lua-users home
lua-l archive

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


> I didn't even realize that Lua supported require 'a.b.c' and that this
> is translated to a filesystem path, maybe because I haven't seen it
> being used.

Well, LuaSocket does it (socket.http), Penlight does it (pl.pretty),
LuaRocks does it (luarocks.fs)... I see it all over the place! Which
Lua modules have you been using? :)

> Will certainly make sure that all modules in the Ravi distro follow a
> supplier.modue (e.g. torch.paths) pattern - can't imagine why people
> don't do this. It is a no brainer to me.

People _do_ this :)

-- Hisham