Add

trait Add[a: Type]Source

A trait for addition.

Signatures

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

Returns the sum of x and y.