Sumable

ostrat.Sumable
See theSumable companion object
trait Sumable[A]

A type class for a sum like operation

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

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