[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Non-uniqueness of module names
- From: Dirk Laurie <dirk.laurie@...>
- Date: Tue, 16 Apr 2019 13:29:51 +0200
Op Ma. 15 Apr. 2019 om 14:45 het Roberto Ierusalimschy
<roberto@inf.puc-rio.br> geskryf:
>
> I am not sure you are aware that the module itself already gets
> this information:
>
> ---- file temp.lua
> print(...)
>
> $ lua -l temp
> --> temp ./temp.lua
>
> Maybe 'require' could simply return this information as a second result?
That would be perfect, thanks.
-- Dirk