It seems that scala.math.PartialOrdering.lteq
must always be defined as (or at least, give the same result as):
override def lteq(x: Pattern, y: Pattern) = {
tryCompare(x, y).map(_ <= 0).getOrElse(false)
}
Is there some reason this implementation isn't given in the scala.math.PartialOrdering
trait?