Ranges inclusive or exclusive with regard to upper bound?

Correct. Slicing is [a..b) (exclusive).

Extensively discussed a few months ago, and appears to me to be unlikely to change. (unless perhaps something compelling comes up while implementing ranged integers, if that even happens).

2 Likes