[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Infinity as index
- From: steve donovan <steve.j.donovan@...>
- Date: Thu, 24 Apr 2014 17:41:48 +0200
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?