LanguageExt.Core

LanguageExt.Core Type Classes Semigroup

Contents

interface Semigroup <A> Source #

class TypeClass Source #

Methods

method A append <SEMI, A> (A x, A y) Source #

where SEMI : struct, 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> append <SEMI, L, R> (Either<L, R> lhs, Either<L, R> rhs) Source #

where SEMI : struct, 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 EitherUnsafe<L, R> append <SEMI, L, R> (EitherUnsafe<L, R> lhs, EitherUnsafe<L, R> rhs) Source #

where SEMI : struct, 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 HashMap<K, V> append <K, V> (HashMap<K, V> x, HashMap<K, V> y) Source #

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 HashSet<A> append <A> (HashSet<A> x, HashSet<A> y) Source #

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 Lst<A> append <A> (Lst<A> x, Lst<A> y) Source #

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 Map<K, V> append <K, V> (Map<K, V> x, Map<K, V> y) Source #

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 NEWTYPE append <NEWTYPE, SEMI, A> (NewType<NEWTYPE, A> x, NewType<NEWTYPE, A> y) Source #

where NEWTYPE : NewType<NEWTYPE, A>
where SEMI : struct, 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 NUMTYPE append <NUMTYPE, NUM, A> (NumType<NUMTYPE, NUM, A> x, NumType<NUMTYPE, NUM, A> y) Source #

where NUMTYPE : NumType<NUMTYPE, NUM, A>
where NUM : struct, Num<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 NEWTYPE append <NEWTYPE, SEMI, A, PRED> (NewType<NEWTYPE, A, PRED> x, NewType<NEWTYPE, A, PRED> y) Source #

where NEWTYPE : NewType<NEWTYPE, A, PRED>
where PRED : struct, Pred<A>
where SEMI : struct, 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 NUMTYPE append <NUMTYPE, NUM, A, PRED> (NumType<NUMTYPE, NUM, A, PRED> x, NumType<NUMTYPE, NUM, A, PRED> y) Source #

where NUMTYPE : NumType<NUMTYPE, NUM, A, PRED>
where PRED : struct, Pred<A>
where NUM : struct, Num<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 Option<A> append <SEMI, A> (Option<A> x, Option<A> y) Source #

where SEMI : struct, 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 OptionUnsafe<A> append <SEMI, A> (OptionUnsafe<A> x, OptionUnsafe<A> y) Source #

where SEMI : struct, 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> append <SEMI, A> (IEnumerable<A> x, IEnumerable<A> y) Source #

where SEMI : struct, 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 Try<A> append <SEMI, A> (Try<A> x, Try<A> y) Source #

where SEMI : struct, 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 TryOption<A> append <SEMI, A> (TryOption<A> x, TryOption<A> y) Source #

where SEMI : struct, 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