LanguageExt.Core

LanguageExt.Core Monads State and Environment Monads Writer

Contents

Sub modules

Writer
WriterT

record Tell <W> (W Value) Source #

where W : Monoid<W>

State put

This is a convenience type that is created by the Prelude put function. It avoids the need for lots of generic parameters when used in WriterT and State based monads.

Parameters

type S

State type

param F

Mapping from the environment

Methods

method K<M, Unit> ToWritable <M> () Source #

where M : Writable<M, W>

Convert with Writable

method WriterT<W, M, Unit> ToWriterT <M> () Source #

where M : Monad<M>, Choice<M>

Convert to a WriterT

method Writer<W, Unit> ToWriter () Source #

Convert to a WriterT

method WriterT<W, M, C> SelectMany <M, B, C> (Func<Unit, WriterT<W, M, B>> bind, Func<Unit, B, C> project) Source #

where M : Monad<M>, Choice<M>

Monadic bind with WriterT

method WriterT<W, M, C> SelectMany <M, B, C> (Func<Unit, K<WriterT<W, M>, B>> bind, Func<Unit, B, C> project) Source #

where M : Monad<M>, Choice<M>

Monadic bind with WriterT

method Writer<W, C> SelectMany <B, C> (Func<Unit, Writer<W, B>> bind, Func<Unit, B, C> project) Source #

Monadic bind with Writer

method Writer<W, C> SelectMany <B, C> (Func<Unit, K<Writer<W>, B>> bind, Func<Unit, B, C> project) Source #

Monadic bind with Writer

method RWST<R, W, S, M, C> SelectMany <R, S, M, B, C> (Func<Unit, RWST<R, W, S, M, B>> bind, Func<Unit, B, C> project) Source #

where M : Writable<M, W>, Monad<M>, Choice<M>

Monadic bind with RWST

method RWST<R, W, S, M, C> SelectMany <R, S, M, B, C> (Func<Unit, K<RWST<R, W, S, M>, B>> bind, Func<Unit, B, C> project) Source #

where M : Writable<M, W>, Monad<M>, Choice<M>

Monadic bind with RWST