LanguageExt.Core

LanguageExt.Core Monads Alternative Monads Either Trait

Contents

class Either Source #

Coproduct trait implementation for Either〈L, R〉

Methods

method C Match <A, B, C> ( Func<A, C> Left, Func<B, C> Right, K<Either, A, B> fab) Source #

method K<Either, Y, A> BindFirst <X, Y, A> (K<Either, X, A> ma, Func<X, K<Either, Y, A>> f) Source #

method K<Either, X, B> BindSecond <X, A, B> (K<Either, X, A> ma, Func<A, K<Either, X, B>> f) Source #

class Either <L> Source #

Monad trait implementation for Either〈L, R〉

Parameters

type L

Left type parameter