Contents
- WriterTExtensions
- As <W, M, A> (this K<WriterT<W, M>, A> ma)
- Run <W, M, A> (this K<WriterT<W, M>, A> ma)
- Run <W, M, A> (this K<WriterT<W, M>, A> ma, W initial)
- Flatten <W, M, A> (this WriterT<W, M, WriterT<W, M, A>> mma)
- SelectMany <W, M, A, B, C> ( this K<M, A> ma, Func<A, K<WriterT<W, M>, B>> bind, Func<A, B, C> project)
- SelectMany <W, M, A, B, C> ( this K<M, A> ma, Func<A, WriterT<W, M, B>> bind, Func<A, B, C> project)
class WriterTExtensions Source #
Methods
method WriterT<W, M, A> As <W, M, A> (this K<WriterT<W, M>, A> ma) Source #
method K<M, (A Value, W Output)> Run <W, M, A> (this K<WriterT<W, M>, A> ma) Source #
Run the writer
Parameters
| returns | Bound monad | |
method K<M, (A Value, W Output)> Run <W, M, A> (this K<WriterT<W, M>, A> ma, W initial) Source #
Run the writer
Parameters
| returns | Bound monad | |
method WriterT<W, M, A> Flatten <W, M, A> (this WriterT<W, M, WriterT<W, M, A>> mma) Source #
Monadic join
method WriterT<W, M, C> SelectMany <W, M, A, B, C> ( this K<M, A> ma, Func<A, K<WriterT<W, M>, B>> bind, Func<A, B, C> project) Source #
Monad bind operation
Parameters
| type | B | Intermediate bound value type |
| type | C | Target bound value type |
| param | bind | Monadic bind function |
| param | project | Projection function |
| returns |
| |
method WriterT<W, M, C> SelectMany <W, M, A, B, C> ( this K<M, A> ma, Func<A, WriterT<W, M, B>> bind, Func<A, B, C> project) Source #
Monad bind operation
Parameters
| type | B | Intermediate bound value type |
| type | C | Target bound value type |
| param | bind | Monadic bind function |
| param | project | Projection function |
| returns |
| |