LanguageExt.Core

LanguageExt.Core Monads Alternative Monads Fin Operators

Contents

class FinExtensions Source #

Operators

operator >>> (K<Fin, A> ma, K<Fin, B> mb) Source #

Applicative sequence operator

operator * (K<Fin, Func<A, B>> mf, K<Fin, A> ma) Source #

Applicative apply operator

operator * (K<Fin, A> ma, K<Fin, Func<A, B>> mf) Source #

Applicative apply operator

class FinExtensions Source #

Operators

operator | (Fin<A> lhs, Fin<A> rhs) Source #

operator | (Fin<A> lhs, Pure<A> rhs) Source #

class FinExtensions Source #

Operators

operator + (K<Fin, A> ma) Source #

Downcast operator

class FinExtensions Source #

Operators

operator | (Fin<A> lhs, CatchM<Error, Fin, A> rhs) Source #

operator | (Fin<A> lhs, Fail<Error> rhs) Source #

operator | (Fin<A> lhs, Error rhs) Source #

class FinExtensions Source #

Operators

operator * (Func<A, B> f, K<Fin, A> ma) Source #

Functor map operator

operator * (K<Fin, A> ma, Func<A, B> f) Source #

Functor map operator

class FinExtensions Source #

Operators

operator >> (K<Fin, A> ma, Func<A, K<Fin, B>> f) Source #

Monad bind operator

Parameters

param ma

Monad to bind

param f

Binding function

returns

Mapped monad

operator >> (K<Fin, A> lhs, K<Fin, B> rhs) Source #

Sequentially compose two actions, discarding any value produced by the first, like sequencing operators (such as the semicolon) in C#.

Parameters

param lhs

First action to run

param rhs

Second action to run

returns

Result of the second action

class FinExtensions Source #

Operators

operator + (K<Fin, A> lhs, K<Fin, A> rhs) Source #

Semigroup combine operator: an associative binary operation.

Parameters

param lhs

Left-hand side operand

param rhs

Right-hand side operand

returns

operator + (K<Fin, A> lhs, Pure<A> rhs) Source #

Semigroup combine operator: an associative binary operation.

Parameters

param lhs

Left-hand side operand

param rhs

Right-hand side operand

returns

operator + (K<Fin, A> lhs, Fail<Error> rhs) Source #

Semigroup combine operator: an associative binary operation.

Parameters

param lhs

Left-hand side operand

param rhs

Right-hand side operand

returns

operator + (K<Fin, A> lhs, Error rhs) Source #

Semigroup combine operator: an associative binary operation.

Parameters

param lhs

Left-hand side operand

param rhs

Right-hand side operand

returns