LanguageExt.Core

LanguageExt.Core Effects Eff Catch

Contents

struct EffCatch <A> Source #

Constructors

constructor EffCatch (Func<Error, Eff<A>> fail) Source #

constructor EffCatch (Func<Error, bool> predicate, Func<Error, Eff<A>> fail) Source #

Methods

method Fin<A> Run (Error error) Source #

Operators

operator | (EffCatch<A> ma, EffCatch<A> mb) Source #

operator | (CatchValue<A> ma, EffCatch<A> mb) Source #

operator | (CatchError ma, EffCatch<A> mb) Source #

operator | (EffCatch<A> ma, CatchValue<A> mb) Source #

operator | (EffCatch<A> ma, CatchError mb) Source #

struct EffCatch <RT, A> Source #

where RT : struct

Constructors

constructor EffCatch (Func<Error, Eff<RT, A>> fail) Source #

constructor EffCatch (Func<Error, bool> predicate, Func<Error, Eff<RT, A>> fail) Source #

Methods

method Fin<A> Run (RT env, Error error) Source #

Operators

operator | (CatchValue<A> ma, EffCatch<RT, A> mb) Source #

operator | (CatchError ma, EffCatch<RT, A> mb) Source #

operator | (EffCatch<RT, A> ma, CatchValue<A> mb) Source #

operator | (EffCatch<RT, A> ma, CatchError mb) Source #

operator | (EffCatch<RT, A> ma, EffCatch<RT, A> mb) Source #

operator | (EffCatch<A> ma, EffCatch<RT, A> mb) Source #

operator | (EffCatch<RT, A> ma, EffCatch<A> mb) Source #

operator | (Eff<A> ma, EffCatch<RT, A> mb) Source #