| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Proarrow.Category.Instance.Product
Contents
Documentation
type family Fst (a1 :: (a, b)) :: a where ... Source Comments #
Equations
| Fst ('(a2, b2) :: (a1, b1)) = a2 |
type family Snd (a1 :: (a, b)) :: b where ... Source Comments #
Equations
| Snd ('(a2, b2) :: (a1, b1)) = b2 |
data ((c :: j1 +-> k1) :**: (d :: j2 +-> k2)) (a :: (k1, k2)) (b :: (j1, j2)) where Source Comments #
Constructors
| (:**:) | |
Instances
| (Strong m p, Strong m' q) => Strong (m, m') (p :**: q :: (k1, k2) -> (j1, j2) -> Type) Source Comments # | |
| (ThinProfunctor p, ThinProfunctor q) => ThinProfunctor (p :**: q :: (k1, k2) -> (j1, j2) -> Type) Source Comments # | |
| (MonoidalProfunctor p, MonoidalProfunctor q) => MonoidalProfunctor (p :**: q :: (k1, k2) -> (j1, j2) -> Type) Source Comments # | |
| (Profunctor p, Profunctor q) => Profunctor (p :**: q :: (k1, k2) -> (j1, j2) -> Type) Source Comments # | |
Defined in Proarrow.Category.Instance.Product | |
| (Representable p, Representable q) => Representable (p :**: q :: (k1, k2) -> (j1, j2) -> Type) Source Comments # | |
Defined in Proarrow.Category.Instance.Product Methods index :: forall (a :: (k1, k2)) (b :: (j1, j2)). (p :**: q) a b -> a ~> ((p :**: q) % b) Source Comments # tabulate :: forall (b :: (j1, j2)) (a :: (k1, k2)). Ob b => (a ~> ((p :**: q) % b)) -> (p :**: q) a b Source Comments # repMap :: forall (a :: (j1, j2)) (b :: (j1, j2)). (a ~> b) -> ((p :**: q) % a) ~> ((p :**: q) % b) Source Comments # | |
| (DaggerProfunctor p, DaggerProfunctor q) => DaggerProfunctor (p :**: q :: (j1, j2) -> (j1, j2) -> Type) Source Comments # | |
| (Promonad p, Promonad q) => Promonad (p :**: q :: (j1, j2) -> (j1, j2) -> Type) Source Comments # | The product promonad of promonads |
| type (p :**: q :: (k1, k2) -> (j1, j2) -> Type) % ('(a, b) :: (j1, j2)) Source Comments # | |
| type HasArrow (p :**: q :: (k1, k2) -> (j1, j2) -> Type) ('(a1, a2) :: (k1, k2)) ('(b1, b2) :: (j1, j2)) Source Comments # | |
Orphan instances
| (CategoryOf k1, CategoryOf k2) => CategoryOf (k1, k2) Source Comments # | The product of two categories. |