monoid-transformer-0.0.4: Monoid counterparts to some ubiquitous monad transformers
Data.Monoid.Reader
Synopsis
newtype T r a Source #
Could also be written as Monoid.Applicative (Monad.Trans.Reader r) a.
Monoid.Applicative (Monad.Trans.Reader r) a
Constructors
Fields
Instances
Methods
fmap :: (a -> b) -> T r a -> T r b #
(<$) :: a -> T r b -> T r a #
lift :: Monoid m => m -> T r m Source #
(<>) :: 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 #
mempty :: 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 #