Safe Haskell | None |
---|---|
Language | Haskell2010 |
Proarrow.Profunctor.Ran
Documentation
data Ran (j1 :: OPPOSITE (PRO i j)) (p :: PRO i k) (a :: j) (b :: k) where Source Comments #
Constructors
Ran | |
Instances
(Profunctor p, Profunctor j2) => Profunctor (Ran ('OP j2) p :: j1 -> k -> Type) Source Comments # | |
Functor (Ran :: OPPOSITE (PRO i j) -> PRO i k -> j -> k -> Type) Source Comments # | |
Profunctor j2 => Adjunction (Star ((:.:) j2 :: PRO j1 k -> i -> k -> Type) :: (i -> k -> Type) -> PRO j1 k -> Type) (Star (Ran ('OP j2) :: PRO i k -> j1 -> k -> Type) :: (j1 -> k -> Type) -> PRO i k -> Type) Source Comments # | |
Defined in Proarrow.Profunctor.Ran Methods unit :: forall (a :: PRO j1 k). Ob a => (Star (Ran ('OP j2) :: PRO i k -> j1 -> k -> Type) :.: Star ((:.:) j2 :: PRO j1 k -> i -> k -> Type)) a a Source Comments # counit :: (Star ((:.:) j2 :: PRO j1 k -> i -> k -> Type) :.: Star (Ran ('OP j2) :: PRO i k -> j1 -> k -> Type)) :~> ((~>) :: CAT (i -> k -> Type)) Source Comments # | |
Profunctor j2 => Functor (Ran ('OP j2) :: PRO i k -> j1 -> k -> Type) Source Comments # | |
runRan :: forall {i} {j1} {k} j2 (x :: i) (a :: j1) p (b :: k). Profunctor j2 => j2 x a -> Ran ('OP j2) p a b -> p x b Source Comments #
ranCompose :: forall {j1} {j2} {i1} {k} (i2 :: PRO j1 j2) (j3 :: PRO i1 j1) (p :: PRO i1 k). (Profunctor i2, Profunctor j3, Profunctor p) => Ran ('OP i2) (Ran ('OP j3) p) ~> Ran ('OP (j3 :.: i2)) p Source Comments #
ranComposeInv :: forall {j1} {j2} {i1} {k} (i2 :: PRO j1 j2) (j3 :: PRO i1 j1) (p :: PRO i1 k). (Profunctor i2, Profunctor j3, Profunctor p) => Ran ('OP (j3 :.: i2)) p ~> Ran ('OP i2) (Ran ('OP j3) p) Source Comments #