SemiGroup

class SemiGroup[a: Type]Source

A trait for types that form a semigroup.

Signatures

def combine(x: a, y: a): a with SemiGroup[a] Source

An associative binary operation on a.

Class Definitions

def combineN(x: a, n: Int32): a with SemiGroup[a] Source

Returns x combined with itself n times.