lua-users home
lua-l archive

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


On Thu, Apr 24, 2014 at 5:34 PM, Thiago L. <fakedme@gmail.com> wrote:
> I think it should expand +inf to #str and -inf to 1 (= passing -#str to the
> function)...

Actually, on 2nd thought, I agree with Lukas - I also would expect
s:sub(inf) to be the empty string, seeing inf as the limit of
increasing integer value.

Although in practice - do bugs occur because of this?