monoid-transformer-0.0.4: Monoid counterparts to some ubiquitous monad transformers

Synopsis

Documentation

newtype T r a Source #

Could also be written as Monoid.Applicative (Monad.Trans.Reader r) a.

Constructors

 Cons Fieldsrun :: r -> a

Instances

 Functor (T r) Source # Methodsfmap :: (a -> b) -> T r a -> T r b #(<\$) :: a -> T r b -> T r a # C (T r) Source # Methodslift :: Monoid m => m -> T r m Source # Semigroup a => Semigroup (T r a) Source # Methods(<>) :: T r a -> T r a -> T r a #sconcat :: NonEmpty (T r a) -> T r a #stimes :: Integral b => b -> T r a -> T r a # Monoid a => Monoid (T r a) Source # Methodsmempty :: T r a #mappend :: T r a -> T r a -> T r a #mconcat :: [T r a] -> T r a #

pure :: a -> T r a Source #