Safe Haskell | None |
---|---|
Language | Haskell2010 |
Proarrow.Promonad.Reader
Documentation
data Reader (r :: OPPOSITE m) (a :: k) (b :: k) where Source Comments #
Constructors
Reader :: forall {k} {m} (a :: k) (b :: k) (r1 :: m). Ob a => (Act r1 a ~> b) -> Reader ('OP r1) a b |
Instances
(Ob r, MonoidalAction m k, SymMonoidal m) => Strong m (Reader ('OP r) :: k -> k -> Type) Source Comments # | |
(Comonoid r, SelfAction k, SymMonoidal k) => MonoidalProfunctor (Reader ('OP r) :: k -> k -> Type) Source Comments # | Note: This is only premonoidal, not monoidal, unless the comonoid is cocommutative. |
(Ob r, MonoidalAction m k) => Profunctor (Reader ('OP r) :: k -> k -> Type) Source Comments # | |
(Ob r, MonoidalAction m k) => Corepresentable (Reader ('OP r) :: k -> k -> Type) Source Comments # | |
Defined in Proarrow.Promonad.Reader Methods coindex :: forall (a :: k) (b :: k). Reader ('OP r) a b -> ((Reader ('OP r) :: k -> k -> Type) %% a) ~> b Source Comments # cotabulate :: forall (a :: k) (b :: k). Ob a => (((Reader ('OP r) :: k -> k -> Type) %% a) ~> b) -> Reader ('OP r) a b Source Comments # corepMap :: forall (a :: k) (b :: k). (a ~> b) -> ((Reader ('OP r) :: k -> k -> Type) %% a) ~> ((Reader ('OP r) :: 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 # | |
(Comonoid r, SelfAction k) => Cotraversable (Reader ('OP r) :: k -> k -> Type) Source Comments # | |
Defined in Proarrow.Promonad.Reader | |
(Comonoid r, MonoidalAction m k) => Promonad (Reader ('OP r) :: k -> k -> Type) Source Comments # | |
(Monoid r, MonoidalAction m k) => Procomonad (Reader ('OP r) :: k -> k -> Type) Source Comments # | |
MonoidalAction m k => Functor (Reader :: OPPOSITE m -> k -> k -> Type) Source Comments # | |
type (Reader ('OP r) :: k -> k -> Type) %% (a :: k) Source Comments # | |