Currently, when using the Range type, bounds are swapped by default, if they are not in order. This can be convenient occasionally, but incorrect in other cases. With the suggestion of supporting (partially) unbounded ranges (#350), swapping may become wrong.
We should introduce new API that allows for swapping explicitly (akin to SQL's BETWEEN SYMMETRIC) and stop swapping implicitly.
This is an incompatible change. We might not actually implement it.
Currently, when using the
Rangetype, bounds are swapped by default, if they are not in order. This can be convenient occasionally, but incorrect in other cases. With the suggestion of supporting (partially) unbounded ranges (#350), swapping may become wrong.We should introduce new API that allows for swapping explicitly (akin to SQL's
BETWEEN SYMMETRIC) and stop swapping implicitly.This is an incompatible change. We might not actually implement it.