flix

0.79.0

Add

trait Add[a: Type]Source

Trait for types that support addition.

Instances

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

Signatures

def add(x: a, y: a): a with Add[a]§ Source

Returns the sum of x and y.