Sub

trait Sub[a: Type]Source

A trait for subtraction.

Instances

instance Sub[Identity[a]] with Sub[a]Source
instance Sub[Float32]Source
instance Sub[Float64]Source
instance Sub[BigDecimal]Source
instance Sub[Int8]Source
instance Sub[Int16]Source
instance Sub[Int32]Source
instance Sub[Int64]Source
instance Sub[BigInt]Source

Signatures

def sub(x: a, y: a): a with Sub[a] Source

Returns the difference of x and y.