Module
Uncurried.Writer
- Package
- purescript-uncurried-transformers
- Repository
- PureFunctor/purescript-uncurried-transformers
This modules defines the writer monad, Writer
.
#evalWriter Source
evalWriter :: forall w a. Monoid w => Writer w a -> a
Runs a computation inside of Writer
, discarding the final accumulator.
#execWriter Source
execWriter :: forall w a. Monoid w => Writer w a -> w
Runs a computation inside of Writer
, discarding the final result.