| |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
| Description | |||||||||||||||||||||||||||||||||||
The MonadWriter class. Inspired by the paper /Functional Programming with Overloading and Higher-Order Polymorphism/, Mark P Jones (http://web.cecs.pdx.edu/~mpj/pubs/springschool.html) Advanced School of Functional Programming, 1995. | |||||||||||||||||||||||||||||||||||
| Documentation | |||||||||||||||||||||||||||||||||||
| class (Monoid (WriterType m), Monad m) => MonadWriter m where | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
| listens :: MonadWriter m => (WriterType m -> b) -> m a -> m (a, b) | |||||||||||||||||||||||||||||||||||
| censor :: MonadWriter m => (WriterType m -> WriterType m) -> m a -> m a | |||||||||||||||||||||||||||||||||||
| Produced by Haddock version 2.7.2 |