trait Sub[a: Type]
A trait for subtraction.
instance Sub[Identity[a]] with Sub[a]
instance Sub[Float32]
instance Sub[Float64]
instance Sub[BigDecimal]
instance Sub[Int8]
instance Sub[Int16]
instance Sub[Int32]
instance Sub[Int64]
instance Sub[BigInt]
def sub(x: a, y: a): a with Sub[a]
Returns the difference of x and y.
x
y