monoid-transformer-0.0.2: Monoid counterparts to some ubiquitous monad transformers
newtype T s a Source
This resembles the pure State monad.
However, State in transformers is a StateT
and mtl is not Haskell 98.
I hope I have the more natural parameter order for evaluate
in contrast to mtl and transformers.
However, it is different from the parameter order of run.
pure :: a -> T s aSource
evaluate :: s -> T s a -> aSource
execute :: s -> T s a -> sSource
put :: Monoid a => s -> T s aSource
modify :: Monoid a => (s -> s) -> T s aSource
mapFst :: (a -> c) -> (a, b) -> (c, b)Source
Produced by Haddock version 2.9.4