Safe Haskell | None |
---|---|
Language | Haskell2010 |
Proarrow.Category.Instance.Unit
Contents
Documentation
data Unit (a :: ()) (b :: ()) where Source Comments #
Instances
Bicategory Unit Source Comments # | |||||||||||||
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 Comments # 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 Comments # (\\\) :: 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 Comments # leftUnitor :: forall {i :: ()} {j :: ()} (a :: Unit i j). (Ob0 Unit i, Ob0 Unit j, Ob a) => O (I :: Unit j j) a ~> a Source Comments # leftUnitorInv :: forall {i :: ()} {j :: ()} (a :: Unit i j). (Ob0 Unit i, Ob0 Unit j, Ob a) => a ~> O (I :: Unit j j) a Source Comments # rightUnitor :: forall {i :: ()} {j :: ()} (a :: Unit i j). (Ob0 Unit i, Ob0 Unit j, Ob a) => O a (I :: Unit i i) ~> a Source Comments # rightUnitorInv :: forall {i :: ()} {j :: ()} (a :: Unit i j). (Ob0 Unit i, Ob0 Unit j, Ob a) => a ~> O a (I :: Unit i i) Source Comments # 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 Comments # 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 Comments # | |||||||||||||
DaggerProfunctor Unit Source Comments # | |||||||||||||
TracedMonoidalProfunctor Unit Source Comments # | |||||||||||||
Defined in Proarrow.Object.BinaryProduct Methods trace :: forall (u :: ()) (x :: ()) (y :: ()). (Ob x, Ob y, Ob u) => Unit (x ** u) (y ** u) -> Unit x y Source Comments # trace' :: forall (x :: ()) (x' :: ()) (y :: ()) (y' :: ()) (u :: ()) (u' :: ()). (x ~> x') -> (y ~> y') -> (u ~> u') -> Unit (x' ** u') (y ** u) -> Unit x y' Source Comments # | |||||||||||||
Promonad Unit Source Comments # | |||||||||||||
Discrete Unit Source Comments # | |||||||||||||
MonoidalProfunctor Unit Source Comments # | |||||||||||||
Profunctor Unit Source Comments # | |||||||||||||
Codiscrete Unit Source Comments # | |||||||||||||
ThinProfunctor Unit Source Comments # | |||||||||||||
Defined in Proarrow.Category.Instance.Unit Associated Types
| |||||||||||||
Monad 'Unit Source Comments # | |||||||||||||
Strong () Unit Source Comments # | |||||||||||||
(j ~ '(), k ~ '()) => CategoryOf (Unit j k) Source Comments # | |||||||||||||
Defined in Proarrow.Category.Bicategory.Terminal | |||||||||||||
Promonad (Terminal :: Unit '() '() -> Unit '() '() -> Type) Source Comments # | |||||||||||||
Profunctor (Terminal :: Unit '() '() -> Unit '() '() -> Type) Source Comments # | |||||||||||||
Defined in Proarrow.Category.Bicategory.Terminal | |||||||||||||
type I Source Comments # | |||||||||||||
Defined in Proarrow.Category.Bicategory.Terminal | |||||||||||||
type Ob0 Unit (k :: ()) Source Comments # | |||||||||||||
Defined in Proarrow.Category.Bicategory.Terminal | |||||||||||||
type HasArrow Unit '() '() Source Comments # | |||||||||||||
Defined in Proarrow.Category.Instance.Unit | |||||||||||||
type O (a :: Unit j '()) (b :: Unit '() j) Source Comments # | |||||||||||||
Defined in Proarrow.Category.Bicategory.Terminal | |||||||||||||
type (~>) Source Comments # | |||||||||||||
type Ob (p :: Unit j k) Source Comments # | |||||||||||||
Defined in Proarrow.Category.Bicategory.Terminal |
Orphan instances
CategoryOf () Source Comments # | The category with one object, the terminal category. | ||||||||
Associated Types
| |||||||||
HasInitialObject () Source Comments # | |||||||||
Associated Types
| |||||||||
HasTerminalObject () Source Comments # | |||||||||
Associated Types
Methods terminate :: forall (a :: ()). Ob a => a ~> (TerminalObject :: ()) Source Comments # terminate' :: forall (a :: ()) (a' :: ()). (a ~> a') -> a ~> (TerminalObject :: ()) Source Comments # |