monads-tf-0.0.0.1: Monad classes, using type familiesSource codeContentsIndex
Control.Monad.Writer.Class
Portabilitynon-portable (type families)
Stabilityexperimental
Maintainerlibraries@haskell.org
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 whereSource
Associated Types
type WriterType m Source
Methods
tell :: WriterType m -> m ()Source
listen :: m a -> m (a, WriterType m)Source
pass :: m (a, WriterType m -> WriterType m) -> m aSource
show/hide Instances
listens :: MonadWriter m => (WriterType m -> b) -> m a -> m (a, b)Source
censor :: MonadWriter m => (WriterType m -> WriterType m) -> m a -> m aSource
Produced by Haddock version 2.6.0