Sumable

trait Sumable[A]

A type class for a sum like operation

Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def identity: A
def sum(a1: A, a2: A): A