|
Control.Monad.Writer.Strict | Portability | non-portable (multi-param classes, functional dependencies) | Stability | experimental | Maintainer | libraries@haskell.org |
|
|
|
Description |
Strict 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 |
Constructors | | Instances | |
|
|
execWriter :: Writer w a -> w |
|
mapWriter :: ((a, w) -> (b, w')) -> Writer w a -> Writer w' b |
|
newtype WriterT w m a |
Constructors | | Instances | |
|
|
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.Trans |
|
Produced by Haddock version 2.3.0 |