Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data ENDO (kk :: CAT j) (k :: j) Source Comments #
E (kk k k) |
Instances
(Bicategory kk, Ob0 kk k) => Monoidal (ENDO kk k) Source Comments # | The monoidal subcategory of a bicategory for a single object. | ||||
Defined in Proarrow.Category.Monoidal.Endo
leftUnitor :: forall (a :: ENDO kk k). Ob a => ((Unit :: ENDO kk k) ** a) ~> a Source Comments # leftUnitorInv :: forall (a :: ENDO kk k). Ob a => a ~> ((Unit :: ENDO kk k) ** a) Source Comments # rightUnitor :: forall (a :: ENDO kk k). Ob a => (a ** (Unit :: ENDO kk k)) ~> a Source Comments # rightUnitorInv :: forall (a :: ENDO kk k). Ob a => a ~> (a ** (Unit :: ENDO kk k)) Source Comments # associator :: forall (a :: ENDO kk k) (b :: ENDO kk k) (c :: ENDO kk k). (Ob a, Ob b, Ob c) => ((a ** b) ** c) ~> (a ** (b ** c)) Source Comments # associatorInv :: forall (a :: ENDO kk k) (b :: ENDO kk k) (c :: ENDO kk k). (Ob a, Ob b, Ob c) => (a ** (b ** c)) ~> ((a ** b) ** c) Source Comments # | |||||
(Bicategory kk, Ob0 kk k) => CategoryOf (ENDO kk k) Source Comments # | |||||
Defined in Proarrow.Category.Monoidal.Endo | |||||
(Bicategory kk, Ob0 kk k, Ob (I :: kk k k), forall (f :: kk k k) (g :: kk k k). (Ob f, Ob g) => RightKanExtension f g) => Closed (ENDO kk k) Source Comments # | |||||
Defined in Proarrow.Category.Monoidal.Endo curry' :: forall (a :: ENDO kk k) (b :: ENDO kk k) (c :: ENDO kk k). Obj a -> Obj b -> ((a ** b) ~> c) -> a ~> (b ~~> c) Source Comments # uncurry' :: forall (b :: ENDO kk k) (c :: ENDO kk k) (a :: ENDO kk k). Obj b -> Obj c -> (a ~> (b ~~> c)) -> (a ** b) ~> c Source Comments # (^^^) :: forall (b :: ENDO kk k) (y :: ENDO kk k) (x :: ENDO kk k) (a :: ENDO kk k). (b ~> y) -> (x ~> a) -> (a ~~> b) ~> (x ~~> y) Source Comments # | |||||
(Bicategory kk, Ob0 kk k) => Promonad (Endo :: ENDO kk k -> ENDO kk k -> Type) Source Comments # | |||||
(Bicategory kk, Ob0 kk k) => MonoidalProfunctor (Endo :: ENDO kk k -> ENDO kk k -> Type) Source Comments # | |||||
(Bicategory kk, Ob0 kk k) => Profunctor (Endo :: ENDO kk k -> ENDO kk k -> Type) Source Comments # | |||||
(Bicategory kk, Ob (I :: kk a a), Comonad c, Ob c) => Comonoid ('E c :: ENDO kk a) Source Comments # | Comonads are comonoids in the category of endo-1-cells. | ||||
(Bicategory kk, Ob (I :: kk a a), Monad m, Ob m) => Monoid ('E m :: ENDO kk a) Source Comments # | Monads are monoids in the category of endo-1-cells. | ||||
type UN ('E :: kk k k -> ENDO kk k) ('E p :: ENDO kk k) Source Comments # | |||||
type Unit Source Comments # | |||||
Defined in Proarrow.Category.Monoidal.Endo | |||||
type (~>) Source Comments # | |||||
type Ob (p :: ENDO kk k) Source Comments # | |||||
type ('E p :: ENDO kk k) ** ('E q :: ENDO kk k) Source Comments # | |||||
type ('E f :: ENDO kk k) ~~> ('E g :: ENDO kk k) Source Comments # | |||||
data Endo (p :: ENDO kk k) (q :: ENDO kk k) where Source Comments #
Endo :: forall {j} {kk :: CAT j} {k :: j} (p1 :: kk k k) (q1 :: kk k k). (p1 ~> q1) -> Endo ('E p1) ('E q1) |
Instances
(Bicategory kk, Ob0 kk k) => Promonad (Endo :: ENDO kk k -> ENDO kk k -> Type) Source Comments # | |
(Bicategory kk, Ob0 kk k) => MonoidalProfunctor (Endo :: ENDO kk k -> ENDO kk k -> Type) Source Comments # | |
(Bicategory kk, Ob0 kk k) => Profunctor (Endo :: ENDO kk k -> ENDO kk k -> Type) Source Comments # | |