lua-users home
lua-l archive

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


On Thu, Feb 11, 2016 at 11:08:18 +0100, Marc Balmer wrote:
> We usually put some information strings into our modules, e.g.
[snip]
> How do other module-writer handle such?  Do you put such information into
> modules?  Do you think it makes sense?  Is it of any use at all?  Is it
> common practice? (yes, I am considering removing it...)

I do similar things with _VERSION _ABI and VERSION, but it's all ad-hoc for
myself.  I think it's sensible to include that kind of data but I'd love for
there to be an LEP toward standardising it.  Then we might see an extension to
require() to support minimum version checking or similar, which would be
lovely.

D.

-- 
Daniel Silverstone                         http://www.digital-scurf.org/
PGP mail accepted and encouraged.            Key Id: 3CCE BABE 206C 3B69