WriterResult Class

Convenience methods for returning from a Writer<MonoidW, W, A> computation

DECLARATION
public static class WriterResult
NAMESPACE
LanguageExt

Methods

Fail<MonoidW, W, A>()
DECLARATION
public static ValueTuple<A, W, bool> Fail<MonoidW, W, A>()
RETURNS
ValueTuple<A, W, bool>
CONSTRAINTS
where MonoidW : struct Monoid<W>
Fail<MonoidW, W>()
DECLARATION
public static ValueTuple<Unit, W, bool> Fail<MonoidW, W>()
RETURNS
ValueTuple<Unit, W, bool>
CONSTRAINTS
where MonoidW : struct Monoid<W>
Return<MonoidW, W, A>(A, W)
PARAMETERS
value
A
output
W
DECLARATION
public static ValueTuple<A, W, bool> Return<MonoidW, W, A>(A value, W output)
RETURNS
ValueTuple<A, W, bool>
CONSTRAINTS
where MonoidW : struct Monoid<W>
Return<MonoidW, W>(W)
PARAMETERS
output
W
DECLARATION
public static ValueTuple<Unit, W, bool> Return<MonoidW, W>(W output)
RETURNS
ValueTuple<Unit, W, bool>
CONSTRAINTS
where MonoidW : struct Monoid<W>
ToWriter<MonoidW, W, A>(ValueTuple<A, W>)
PARAMETERS
self
ValueTuple<A, W>
DECLARATION
public static ValueTuple<A, W, bool> ToWriter<MonoidW, W, A>(this ValueTuple<A, W> self)
RETURNS
ValueTuple<A, W, bool>
CONSTRAINTS
where MonoidW : struct Monoid<W>