The array-based value of the Story (the accumulator).
The current return value of the computation.
Modify the Writer's story by applying a function.
Checks equality between two Writers of the same type.
Returns the value at the end of a sequence of Writer computations.
Returns the story at the end of a sequence of Writer computations.
Applies a function to the accumulated value of a Writer.
Run a side effect on the value.
Creates a new Writer with an initial story and an empty value.
Creates a new Writer with an empty story and an initial value.
Creates a new Writer with a story and a value.
Generated using TypeDoc
The Writer monad provides the ability to accumulate a secondary Story (S) value in addition to the return value (A) of a computation.