lua-users home
lua-l archive

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


On Wed, Nov 10, 2010 at 4:34 AM, Miles Bader <miles@gnu.org> wrote:
> Nick Gammon <nick@gammon.com.au> writes:
>>> Returns a string with the running version of LPeg.
>>
>> This is inconclusive about how to compare versions.
>> If I may suggest, the documentation could be amended to say something like:
>
> I dunno -- once they look at the version string they'd like to compare
> against (almost every use of this is likely to be for comparison with a
> specific version), it seems pretty clear what type of format is being
> used...


No matter the format, it could be spelled out at least:

Returns a string with the running version of LPeg for the form "major.minor"