flix

0.79.0

Sub

trait Sub[a: Type]Source

Trait for types that support subtraction.

Instances

Primitives
Float32, Float64, BigDecimal, Int8, Int16, Int32, Int64, BigInt
Non-primitives
Duration, Identity[a], Size

Signatures

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

Returns the difference of x and y.