My colleague recently stumbled on trying

> var x: array[1..<5, int]

which can only be done, I think, as

> var x: array[1..4, int]

What's the best way to teach why that doesn't work?

Reply via email to