| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Proarrow.Category.Instance.Unit
Contents
Documentation
data Unit (a :: ()) (b :: ()) where Source Github #
Instances
| Bicategory Unit Source Github # | |||||||||||||
Defined in Proarrow.Category.Bicategory.Terminal Associated Types
Methods o :: forall {i :: ()} (j :: ()) (k :: ()) (a :: Unit j k) (b :: Unit j k) (c :: Unit i j) (d :: Unit i j). (a ~> b) -> (c ~> d) -> O a c ~> O b d Source Github # withOb2 :: forall {i :: ()} {j :: ()} {k :: ()} (a :: Unit j k) (b :: Unit i j) r. (Ob a, Ob b, Ob0 Unit i, Ob0 Unit j, Ob0 Unit k) => (Ob (O a b) => r) -> r Source Github # withOb0s :: forall {j :: ()} {k :: ()} (a :: Unit j k) r. Ob a => ((Ob0 Unit j, Ob0 Unit k) => r) -> r Source Github # (\\\) :: forall (i :: ()) (j :: ()) (ps :: Unit i j) (qs :: Unit i j) r. ((Ob0 Unit i, Ob0 Unit j, Ob ps, Ob qs) => r) -> (ps ~> qs) -> r Source Github # leftUnitor :: forall {i :: ()} {j :: ()} (a :: Unit i j). (Ob0 Unit i, Ob0 Unit j, Ob a) => O (I :: Unit j j) a ~> a Source Github # leftUnitorInv :: forall {i :: ()} {j :: ()} (a :: Unit i j). (Ob0 Unit i, Ob0 Unit j, Ob a) => a ~> O (I :: Unit j j) a Source Github # rightUnitor :: forall {i :: ()} {j :: ()} (a :: Unit i j). (Ob0 Unit i, Ob0 Unit j, Ob a) => O a (I :: Unit i i) ~> a Source Github # rightUnitorInv :: forall {i :: ()} {j :: ()} (a :: Unit i j). (Ob0 Unit i, Ob0 Unit j, Ob a) => a ~> O a (I :: Unit i i) Source Github # associator :: forall {h :: ()} {i :: ()} {j :: ()} {k :: ()} (a :: Unit j k) (b :: Unit i j) (c :: Unit h i). (Ob0 Unit h, Ob0 Unit i, Ob0 Unit j, Ob0 Unit k, Ob a, Ob b, Ob c) => O (O a b) c ~> O a (O b c) Source Github # associatorInv :: forall {h :: ()} {i :: ()} {j :: ()} {k :: ()} (a :: Unit j k) (b :: Unit i j) (c :: Unit h i). (Ob0 Unit h, Ob0 Unit i, Ob0 Unit j, Ob0 Unit k, Ob a, Ob b, Ob c) => O a (O b c) ~> O (O a b) c Source Github # | |||||||||||||
| DaggerProfunctor Unit Source Github # | |||||||||||||
| Promonad Unit Source Github # | |||||||||||||
| ThinProfunctor Unit Source Github # | |||||||||||||
Defined in Proarrow.Category.Instance.Unit Associated Types
| |||||||||||||
| MonoidalProfunctor Unit Source Github # | |||||||||||||
| Profunctor Unit Source Github # | |||||||||||||
| Monad 'Unit Source Github # | |||||||||||||
| SubMonoidal ob => Strong (SUBCAT ob) Unit Source Github # | |||||||||||||
| (j ~ '(), k ~ '()) => CategoryOf (Unit j k) Source Github # | |||||||||||||
Defined in Proarrow.Category.Bicategory.Terminal | |||||||||||||
| Promonad (Terminal :: Unit '() '() -> Unit '() '() -> Type) Source Github # | |||||||||||||
| Profunctor (Terminal :: Unit '() '() -> Unit '() '() -> Type) Source Github # | |||||||||||||
Defined in Proarrow.Category.Bicategory.Terminal | |||||||||||||
| type I Source Github # | |||||||||||||
Defined in Proarrow.Category.Bicategory.Terminal | |||||||||||||
| type Ob0 Unit (k :: ()) Source Github # | |||||||||||||
Defined in Proarrow.Category.Bicategory.Terminal | |||||||||||||
| type HasArrow Unit (a :: ()) (b :: ()) Source Github # | |||||||||||||
Defined in Proarrow.Category.Instance.Unit | |||||||||||||
| type O (a :: Unit j '()) (b :: Unit '() j) Source Github # | |||||||||||||
Defined in Proarrow.Category.Bicategory.Terminal | |||||||||||||
| type (~>) Source Github # | |||||||||||||
| type Ob (p :: Unit j k) Source Github # | |||||||||||||
Defined in Proarrow.Category.Bicategory.Terminal | |||||||||||||
Orphan instances
| CategoryOf () Source Github # | The category with one object, the terminal category. | ||||||||
Associated Types
| |||||||||