class (Monoid w, Monad m) => MonadWriter w m | m -> w whereSource
Methods
is an action that produces the output tell
ww
.
listen :: m a -> m (a, w)Source
is an action that executes the action listen
mm
and adds its output to the value of the computation.
pass :: m (a, w -> w) -> m aSource
is an action that executes the action pass
mm
, which returns a value and a function, and returns the value, applying the function to the output.
censor :: MonadWriter w m => (w -> w) -> m a -> m aSource
is an action that executes the action censor
f mm
and applies the function f
to its output, leaving the return value unchanged.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4