flix

0.54.0

Mul

trait Mul[a: Type]Source

A trait for multiplication.

Instances

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

Signatures

def mul(x: a, y: a): a with Mul[a] Source

Returns x multiplied by y.