Safe Haskell | None |
---|---|
Language | Haskell2010 |
Proarrow.Category.Instance.Cat
Documentation
newtype KIND Source Comments #
Instances
data Terminate (a :: UNIT) (b :: k) where Source Comments #
Instances
CategoryOf k => Profunctor (Terminate :: UNIT -> k -> Type) Source Comments # | |
data FstCat (a :: j) (b :: (j, k)) where Source Comments #
Constructors
FstCat :: forall {k} {j} (c :: k) (a :: j) (b1 :: j). Ob c => (a ~> b1) -> FstCat a '(b1, c) |
Instances
(CategoryOf j, CategoryOf k) => Profunctor (FstCat :: j -> (j, k) -> Type) Source Comments # | |
data SndCat (a :: k) (b :: (j, k)) where Source Comments #
Constructors
SndCat :: forall {j} {k} (b1 :: j) (a :: k) (c :: k). Ob b1 => (a ~> c) -> SndCat a '(b1, c) |
Instances
(CategoryOf j, CategoryOf k) => Profunctor (SndCat :: k -> (j, k) -> Type) Source Comments # | |
data ((p :: PRO i k) :&&&: (q :: PRO j k)) (a :: (i, j)) (b :: k) where Source Comments #
Constructors
(:&&&:) :: forall {i} {k} {j} (p :: PRO i k) (a1 :: i) (b :: k) (q :: PRO j k) (b1 :: j). p a1 b -> q b1 b -> (p :&&&: q) '(a1, b1) b |
Instances
(Profunctor p, Profunctor q) => Profunctor (p :&&&: q :: (i, j) -> k -> Type) Source Comments # | |