public func <> <T: Comparable>(left: T, right: (T, T)) -> Bool {
    left > right.0 && left < right.1
}