| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Proarrow.Colimit.Initial
Contents
Description
Initial objects: HasInitialObject with the unique arrow initiate, instances for the base kinds,
and HasZeroObject for categories where the initial and terminal objects coincide.
Documentation
class (CategoryOf k, Ob (InitialObject :: k)) => HasInitialObject k where Source Github #
Associated Types
type InitialObject :: k Source Github #
Instances
initiate' :: forall {k} (a' :: k) (a :: k). HasInitialObject k => (a' ~> a) -> (InitialObject :: k) ~> a Source Github #
class (HasInitialObject k, HasTerminalObject k, (InitialObject :: k) ~ (TerminalObject :: k)) => HasZeroObject k where Source Github #
Instances
| (HasInitialObject k, HasTerminalObject k, (InitialObject :: k) ~ (TerminalObject :: k)) => HasZeroObject k Source Github # | |
Orphan instances
| (HasInitialObject j, CategoryOf k) => Corepresentable (TerminalProfunctor :: k -> j -> Type) Source Github # | |||||
Methods coindex :: forall (a :: k) (b :: j). TerminalProfunctor a b -> ((TerminalProfunctor :: k -> j -> Type) %% a) ~> b Source Github # cotabulate :: forall (a :: k) (b :: j). Ob a => (((TerminalProfunctor :: k -> j -> Type) %% a) ~> b) -> TerminalProfunctor a b Source Github # corepMap :: forall (a :: k) (b :: k). (a ~> b) -> ((TerminalProfunctor :: k -> j -> Type) %% a) ~> ((TerminalProfunctor :: k -> j -> Type) %% b) Source Github # corepUniv :: forall (a :: k). Ob a => TerminalProfunctor a ((TerminalProfunctor :: k -> j -> Type) %% a) Source Github # | |||||
| HasInitialObject k => Corepresentable (Rep (Constant '()) :: () -> k -> Type) Source Github # | The left adjoint of the unique functor to the terminal category. | ||||
Methods coindex :: forall (a :: ()) (b :: k). Rep (Constant '()) a b -> (Rep (Constant '()) %% a) ~> b Source Github # cotabulate :: forall (a :: ()) (b :: k). Ob a => ((Rep (Constant '()) %% a) ~> b) -> Rep (Constant '()) a b Source Github # corepMap :: forall (a :: ()) (b :: ()). (a ~> b) -> (Rep (Constant '()) %% a) ~> (Rep (Constant '()) %% b) Source Github # corepUniv :: forall (a :: ()). Ob a => Rep (Constant '()) a (Rep (Constant '()) %% a) Source Github # | |||||
| HasInitialObject k => HasTerminalObject (OPPOSITE k) Source Github # | |||||
Associated Types
| |||||