Safe Haskell | None |
---|---|
Language | Haskell2010 |
Proarrow.Promonad.Writer
Documentation
data Writer (w :: m) (a :: k) (b :: k) where Source Comments #
Constructors
Writer :: forall {k} {m} (b :: k) (a :: k) (w :: m). Ob b => (a ~> Act w b) -> Writer w a b |
Instances
(Ob w, MonoidalAction m k, SymMonoidal m) => Strong m (Writer w :: k -> k -> Type) Source Comments # | |
(Monoid w, SelfAction k) => MonoidalProfunctor (Writer w :: k -> k -> Type) Source Comments # | Note: This is only premonoidal, not monoidal, unless the monoid is commutative. |
(Ob w, MonoidalAction m k) => Profunctor (Writer w :: k -> k -> Type) Source Comments # | |
(Ob w, MonoidalAction m k) => Representable (Writer w :: k -> k -> Type) Source Comments # | |
Defined in Proarrow.Promonad.Writer Methods index :: forall (a :: k) (b :: k). Writer w a b -> a ~> ((Writer w :: k -> k -> Type) % b) Source Comments # tabulate :: forall (b :: k) (a :: k). Ob b => (a ~> ((Writer w :: k -> k -> Type) % b)) -> Writer w a b Source Comments # repMap :: forall (a :: k) (b :: k). (a ~> b) -> ((Writer w :: k -> k -> Type) % a) ~> ((Writer w :: k -> k -> Type) % b) Source Comments # | |
(Ob r, MonoidalAction m k) => Adjunction (Writer r :: k -> k -> Type) (Reader ('OP r) :: k -> k -> Type) Source Comments # | |
MonoidalAction m k => Functor (Writer :: m -> k -> k -> Type) Source Comments # | |
(Monoid w, SelfAction k) => Traversable (Writer w :: k -> k -> Type) Source Comments # | |
(Monoid w, MonoidalAction m k) => Promonad (Writer w :: k -> k -> Type) Source Comments # | |
(Comonoid w, MonoidalAction m k) => Procomonad (Writer w :: k -> k -> Type) Source Comments # | |
type (Writer w :: k -> k -> Type) % (a :: k) Source Comments # | |
Defined in Proarrow.Promonad.Writer |