On Tue, 2021-03-02 at 18:52 +0100, Joel Jacobson wrote: > and the theory is only cute until you face the ugly reality.
There are a lot of range functions and operators, as well as different kinds of ranges (continuous and discrete), and multiranges too. That means a lot of ways to combine operations in novel ways, and (if we aren't careful) a lot of ways to produce very unexpected results. The benefit of falling back on theory is that there's an answer ready when we need to define or explain the semantics. It might not match everyone's intuition, but usually avoids the worst kinds of surprises. Regards, Jeff Davis