class SemiGroup[a: Type]

A trait for types that form a semigroup.

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

An associative binary operation on a.

a

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

Returns x combined with itself n times.

x

n