LanguageExt.Core

LanguageExt.Core Traits Semigroup

Contents

interface Semigroup <A> Source #

where A : Semigroup<A>

Methods

method A Combine (A rhs) Source #

An associative binary operation.

Parameters

param this

The first operand to the operation

param rhs

The second operand to the operation

returns

The result of the operation

Operators

operator + (A lhs, A rhs) Source #

An associative binary operation.

Parameters

param lhs

The first operand to the operation

param rhs

The second operand to the operation

returns

The result of the operation

class Semigroup Source #

Methods

method A combine <A> (A x, A y) Source #

where A : Semigroup<A>

An associative binary operation

Parameters

param x

The left hand side of the operation

param y

The right hand side of the operation

returns

The result of the operation

class Prelude Source #

Methods

method A combine <A> (A x, A y) Source #

where A : Semigroup<A>

An associative binary operation

Parameters

param x

The left hand side of the operation

param y

The right hand side of the operation

returns

The result of the operation

method Either<L, R> combine <L, R> (Either<L, R> lhs, Either<L, R> rhs) Source #

where R : Semigroup<R>

An associative binary operation

Parameters

param lhs

Left-hand side of the operation

param rhs

Right-hand side of the operation

returns

lhs + rhs

method Option<A> combine <A> (Option<A> x, Option<A> y) Source #

where A : Semigroup<A>

An associative binary operation

Parameters

param x

The left hand side of the operation

param y

The right hand side of the operation

returns

The result of the operation

method IEnumerable<A> combine <A> (IEnumerable<A> x, IEnumerable<A> y) Source #

where A : Semigroup<A>

An associative binary operation

Parameters

param x

The left hand side of the operation

param y

The right hand side of the operation

returns

The result of the operation