Created by MarkPerry on 11/01/14. The a is the value in the monad and w is the log value (a monoid)
| Constructor and description |
|---|
WriterM
(A a, W w, fj.F2<W, W, W> f) |
| Type | Name and description |
|---|---|
WriterM<W, B> |
flatMap(F<A, WriterM<W, B>> f) |
static WriterM<W, B> |
lift(B b, W w, fj.F2<W, W, W> f) |
static WriterM<java.lang.String, B> |
lift(B b) |
static WriterM<java.lang.String, A> |
log(A a) |
static F<A, WriterM<java.lang.String, A>> |
log() |
WriterM<W, B> |
map(F<A, B> f) |
WriterM<W, A> |
tell(W w) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Groovy Documentation