| ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| Description | ||||||||||||||||||||||||||||||||
Lazy writer monads. 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 | ||||||||||||||||||||||||||||||||
| module Control.Monad.Writer.Class | ||||||||||||||||||||||||||||||||
| newtype Writer w a | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| execWriter :: Writer w a -> w | ||||||||||||||||||||||||||||||||
| mapWriter :: ((a, w) -> (b, w')) -> Writer w a -> Writer w' b | ||||||||||||||||||||||||||||||||
| newtype WriterT w m a | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| execWriterT :: Monad m => WriterT w m a -> m w | ||||||||||||||||||||||||||||||||
| mapWriterT :: (m (a, w) -> n (b, w')) -> WriterT w m a -> WriterT w' n b | ||||||||||||||||||||||||||||||||
| module Control.Monad | ||||||||||||||||||||||||||||||||
| module Control.Monad.Fix | ||||||||||||||||||||||||||||||||
| module Control.Monad.Trans | ||||||||||||||||||||||||||||||||
| module Data.Monoid | ||||||||||||||||||||||||||||||||
| Produced by Haddock version 2.7.2 | ||||||||||||||||||||||||||||||||