Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data ((p :: j +-> k) :.: (q :: i +-> j)) (a :: k) (c :: i) where
- bimapComp :: forall {j} {k} {i} (a :: j +-> k) (b :: j +-> k) (c :: i +-> j) (d :: i +-> j). (a ~> b) -> (c ~> d) -> (a :.: c) ~> (b :.: d)
- o :: forall {i} {j} {k} (p :: j +-> k) (q :: j +-> k) (r :: i +-> j) (s :: i +-> j). Prof p q -> Prof r s -> Prof (p :.: r) (q :.: s)
Documentation
data ((p :: j +-> k) :.: (q :: i +-> j)) (a :: k) (c :: i) where Source Comments #
(:.:) :: forall {j} {k} {i} (p :: j +-> k) (a :: k) (b :: j) (q :: i +-> j) (c :: i). p a b -> q b c -> (p :.: q) a c |
Instances
(MonoidalProfunctor p, MonoidalProfunctor q) => MonoidalProfunctor (p :.: q :: k -> j2 -> Type) Source Comments # | |
(Profunctor p, Profunctor q) => Profunctor (p :.: q :: j1 -> k -> Type) Source Comments # | |
(Corepresentable p, Corepresentable q) => Corepresentable (p :.: q :: k -> j2 -> Type) Source Comments # | |
Defined in Proarrow.Profunctor.Composition coindex :: forall (a :: k) (b :: j2). (p :.: q) a b -> ((p :.: q) %% a) ~> b Source Comments # cotabulate :: forall (a :: k) (b :: j2). Ob a => (((p :.: q) %% a) ~> b) -> (p :.: q) a b Source Comments # corepMap :: forall (a :: k) (b :: k). (a ~> b) -> ((p :.: q) %% a) ~> ((p :.: q) %% b) Source Comments # | |
(Representable p, Representable q) => Representable (p :.: q :: k -> j2 -> Type) Source Comments # | |
Defined in Proarrow.Profunctor.Composition | |
(Adjunction l1 r1, Adjunction l2 r2) => Adjunction (l1 :.: l2 :: i -> k -> Type) (r2 :.: r1 :: k -> i -> Type) Source Comments # | |
Adjunction p q => Promonad (q :.: p :: k -> k -> Type) Source Comments # | |
Adjunction p q => Procomonad (p :.: q :: i -> i -> Type) Source Comments # | |
Functor ((:.:) :: (j +-> k) -> (i +-> j) -> k -> i -> Type) Source Comments # | |
Profunctor j => Adjunction (Star ((:.:) j :: (i2 +-> k) -> i1 -> i2 -> Type) :: (i1 -> i2 -> Type) -> (i2 +-> k) -> Type) (Star (Rift ('OP j) :: (i2 +-> i1) -> k -> i2 -> Type) :: (k -> i2 -> Type) -> (i2 +-> i1) -> Type) Source Comments # | |
Defined in Proarrow.Profunctor.Rift unit :: forall (a :: i2 +-> k). Ob a => (Star (Rift ('OP j) :: (i2 +-> i1) -> k -> i2 -> Type) :.: Star ((:.:) j :: (i2 +-> k) -> i1 -> i2 -> Type)) a a Source Comments # counit :: (Star ((:.:) j :: (i2 +-> k) -> i1 -> i2 -> Type) :.: Star (Rift ('OP j) :: (i2 +-> i1) -> k -> i2 -> Type)) :~> ((~>) :: CAT (i1 -> i2 -> Type)) Source Comments # | |
Profunctor p => Functor ((:.:) p :: (i +-> j) -> k -> i -> Type) Source Comments # | |
type (p :.: q :: k -> j1 -> Type) %% (a :: k) Source Comments # | |
type (p :.: q :: k -> j1 -> Type) % (a :: j1) Source Comments # | |