Skip to content
Prev 55706 / 63424 Next

Is this a bug in `[`?

Hello,

Thanks for the pointer.
Inline.
On 29/08/2018 04:17, Henrik Bengtsson wrote:
So I was in part right, the zero index is handled as a special case.
My use case was an operation in a function. I wasn't testing whether the 
result was of length zero, I was just using seq_len(result) to avoid the 
test. And found the error surprising.

Thanks again,

Rui Barradas
---
This email has been checked for viruses by AVG.
https://www.avg.com