Pattern matching on Interval'.