It would be handy to have comparison operators for variants. Possible comparisons include:
- identical (keep standard Python == meaning)
- equivalent e.g.,
Please comment on comparisons that you'd like to see.
It would be useful to map operations to operators from https://docs.python.org/3.5/library/operator.html#mapping-operators-to-functions so that, for example,
<< might mean "is left of and non-overlapping" or
v1 in v2 might mean "v1 is within or equal to v2" .