Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type family Arr (v :: CAT k) (a :: vk exta) (b :: vk extb) :: v exta extb Source Comments #
Instances
type Arr (MonK Type) ('CK a :: CATK k exta) ('CK b :: CATK k extb) Source Comments # | |
type Arr (MonK (PRO k k) :: () -> () -> Type) ('BIPARA a :: BIPARAK k exta) ('BIPARA b :: BIPARAK k extb) Source Comments # | |
type Arr (kk :: CAT k) (m :: MONADK t a) (n :: MONADK t a) Source Comments # | |
Defined in Proarrow.Category.Enriched |
class Bicategory (V vk) => ECategory (vk :: k -> Type) where Source Comments #
eid :: forall (exta :: k) (a :: vk exta). EOb a => (I :: V vk exta exta) ~> (a %~> a) Source Comments #
ecomp :: forall (exta :: k) (a :: vk exta) (extb :: k) (b :: vk extb) (extc :: k) (c :: vk extc). (EOb a, EOb b, EOb c) => O (b %~> c) (a %~> b) ~> (a %~> c) Source Comments #
Instances
CategoryOf k => ECategory (CATK k :: () -> Kind) Source Comments # | A regular category as a Type-enriched category |
Defined in Proarrow.Category.Enriched eid :: forall (exta :: ()) (a :: CATK k exta). EOb a => (I :: V (CATK k) exta exta) ~> (a %~> a) Source Comments # ecomp :: forall (exta :: ()) (a :: CATK k exta) (extb :: ()) (b :: CATK k extb) (extc :: ()) (c :: CATK k extc). (EOb a, EOb b, EOb c) => O (b %~> c) (a %~> b) ~> (a %~> c) Source Comments # | |
Monoidal k => ECategory (BIPARAK k :: () -> Kind) Source Comments # | Bipara as a profunctor enriched category. |
Defined in Proarrow.Category.Enriched.Bipara eid :: forall (exta :: ()) (a :: BIPARAK k exta). EOb a => (I :: V (BIPARAK k) exta exta) ~> (a %~> a) Source Comments # ecomp :: forall (exta :: ()) (a :: BIPARAK k exta) (extb :: ()) (b :: BIPARAK k extb) (extc :: ()) (c :: BIPARAK k extc). (EOb a, EOb b, EOb c) => O (b %~> c) (a %~> b) ~> (a %~> c) Source Comments # | |
Monad t => ECategory (MONADK t :: k -> Type) Source Comments # | A monad in a bicategory as a one object enriched category |
Defined in Proarrow.Category.Enriched eid :: forall (exta :: k) (a0 :: MONADK t exta). EOb a0 => (I :: V (MONADK t) exta exta) ~> (a0 %~> a0) Source Comments # ecomp :: forall (exta :: k) (a0 :: MONADK t exta) (extb :: k) (b :: MONADK t extb) (extc :: k) (c :: MONADK t extc). (EOb a0, EOb b, EOb c) => O (b %~> c) (a0 %~> b) ~> (a0 %~> c) Source Comments # |
data CATK k (ext :: ()) where Source Comments #
Instances
CategoryOf k => ECategory (CATK k :: () -> Kind) Source Comments # | A regular category as a Type-enriched category |
Defined in Proarrow.Category.Enriched eid :: forall (exta :: ()) (a :: CATK k exta). EOb a => (I :: V (CATK k) exta exta) ~> (a %~> a) Source Comments # ecomp :: forall (exta :: ()) (a :: CATK k exta) (extb :: ()) (b :: CATK k extb) (extc :: ()) (c :: CATK k extc). (EOb a, EOb b, EOb c) => O (b %~> c) (a %~> b) ~> (a %~> c) Source Comments # | |
type V (CATK k :: () -> Kind) Source Comments # | |
type EOb (a :: CATK k exta) Source Comments # | |
type Arr (MonK Type) ('CK a :: CATK k exta) ('CK b :: CATK k extb) Source Comments # | |
type UN ('CK :: j -> CATK j i) ('CK a :: CATK j i) Source Comments # | |
data MONADK (t :: kk a a) (ext :: k) where Source Comments #
Instances
Monad t => ECategory (MONADK t :: k -> Type) Source Comments # | A monad in a bicategory as a one object enriched category |
Defined in Proarrow.Category.Enriched eid :: forall (exta :: k) (a0 :: MONADK t exta). EOb a0 => (I :: V (MONADK t) exta exta) ~> (a0 %~> a0) Source Comments # ecomp :: forall (exta :: k) (a0 :: MONADK t exta) (extb :: k) (b :: MONADK t extb) (extc :: k) (c :: MONADK t extc). (EOb a0, EOb b, EOb c) => O (b %~> c) (a0 %~> b) ~> (a0 %~> c) Source Comments # | |
type V (MONADK t :: k -> Type) Source Comments # | |
Defined in Proarrow.Category.Enriched | |
type EOb (m :: MONADK t exta) Source Comments # | |
type Arr (kk :: CAT k) (m :: MONADK t a) (n :: MONADK t a) Source Comments # | |
Defined in Proarrow.Category.Enriched |