Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
newtype WriterT w p a b Source #
WriterT (p a (b, w)) |
Instances
(Profunctor p, Monoid w) => ProfunctorWriter' w (WriterT w p) Source # | |
(Monoid w, Category p, Strong p) => Category (WriterT w p :: Type -> Type -> Type) Source # | |
Profunctor p => Profunctor (WriterT w p) Source # | |
Defined in Data.Profunctor.Writer dimap :: (a -> b) -> (c -> d) -> WriterT w p b c -> WriterT w p a d # lmap :: (a -> b) -> WriterT w p b c -> WriterT w p a c # rmap :: (b -> c) -> WriterT w p a b -> WriterT w p a c # (#.) :: forall a b c q. Coercible c b => q b c -> WriterT w p a b -> WriterT w p a c # (.#) :: forall a b c q. Coercible b a => WriterT w p b c -> q a b -> WriterT w p a c # |