flix

0.55.0

Neg

trait Neg[a: Type]Source

A trait for negation.

Instances

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

Signatures

def neg(x: a): a with Neg[a] Source

Returns -x.