Scala: infix operators for the rational class