lua-users home
lua-l archive

Re: general globals in use

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


2012年12月12日 Thijs Schreijer <thijs@thijsschreijer.nl>:
>
> What I'm mostly interested in is the ones defined 'by convention'. I think
> it makes sense to create a generic list on the wiki so they can be shared
> (preventing users from creating different generics for the same purpose).
> And if done properly some might become the standard for the Lua community,
> which I think is a good thing.
>
I'll nominate three, apart of course from names in the
standard libraries which should never ever be used for
a global with a different meaning.
lpeg = require "lpeg"
lfs = require "lfs"
append = table.insert

AltStyle によって変換されたページ (->オリジナル) /