FSharpPlus


Semigroup

In mathematics, a semigroup is an algebraic structure consisting of a set together with an associative binary operation. A semigroup generalizes a monoid in that there might not exist an identity element. It also (originally) generalized a group (a monoid with all inverses) to a type where every element did not have to have an inverse, thus the name semigroup. ___

Minimal complete definition

static member (+) (x: 'Semigroup, y: 'Semigroup) : 'Semigroup

Rules

(x + y) + z = x + (y + z)

Related Abstractions

Concrete implementations

From .Net/F#

From F#+