Safe Haskell | None |
---|---|
Language | Haskell2010 |
Proarrow.Category.Colimit
Documentation
type Unweighted = TerminalProfunctor :: j -> k -> Type Source Comments #
class Corepresentable (Colimit j1 d) => IsCorepresentableColimit (j1 :: PRO i j) (d :: PRO i k) Source Comments #
Instances
Corepresentable (Colimit j2 d) => IsCorepresentableColimit (j2 :: PRO i j1) (d :: PRO i k) Source Comments # | |
Defined in Proarrow.Category.Colimit |
class (forall (d :: PRO i k). Corepresentable d => IsCorepresentableColimit j d) => HasColimits (j :: PRO i a) k where Source Comments #
Methods
colimit :: forall (d :: PRO i k). Corepresentable d => Colimit j d :~> (j |> d) Source Comments #
colimitInv :: forall (d :: PRO i k). Corepresentable d => (j |> d) :~> Colimit j d Source Comments #
Instances
data InitialLimit (d :: PRO VOID k) (a :: UNIT) (b :: k) where Source Comments #
Constructors
InitialLimit :: forall {k} (d :: PRO VOID k) (b :: k). ((InitialObject :: k) ~> b) -> InitialLimit d 'U b |
Instances
HasInitialObject k => Profunctor (InitialLimit d :: UNIT -> k -> Type) Source Comments # | |
Defined in Proarrow.Category.Colimit | |
HasInitialObject k => Corepresentable (InitialLimit d :: UNIT -> k -> Type) Source Comments # | |
Defined in Proarrow.Category.Colimit Methods coindex :: forall (a :: UNIT) (b :: k). InitialLimit d a b -> (InitialLimit d %% a) ~> b Source Comments # cotabulate :: forall (a :: UNIT) (b :: k). Ob a => ((InitialLimit d %% a) ~> b) -> InitialLimit d a b Source Comments # corepMap :: forall (a :: UNIT) (b :: UNIT). (a ~> b) -> (InitialLimit d %% a) ~> (InitialLimit d %% b) Source Comments # | |
type (InitialLimit d :: UNIT -> k -> Type) %% 'U Source Comments # | |
Defined in Proarrow.Category.Colimit |
data CoproductColimit (d :: PRO (COPRODUCT UNIT UNIT) k) (a :: UNIT) (b :: k) where Source Comments #
Constructors
CoproductColimit :: forall {k} (d :: PRO (COPRODUCT UNIT UNIT) k) (b :: k). (((d %% ('L 'U :: COPRODUCT UNIT UNIT)) || (d %% ('R 'U :: COPRODUCT UNIT UNIT))) ~> b) -> CoproductColimit d 'U b |
Instances
CategoryOf k => Profunctor (CoproductColimit d :: UNIT -> k -> Type) Source Comments # | |
Defined in Proarrow.Category.Colimit | |
(HasBinaryCoproducts k, Corepresentable d) => Corepresentable (CoproductColimit d :: UNIT -> k -> Type) Source Comments # | |
Defined in Proarrow.Category.Colimit Methods coindex :: forall (a :: UNIT) (b :: k). CoproductColimit d a b -> (CoproductColimit d %% a) ~> b Source Comments # cotabulate :: forall (a :: UNIT) (b :: k). Ob a => ((CoproductColimit d %% a) ~> b) -> CoproductColimit d a b Source Comments # corepMap :: forall (a :: UNIT) (b :: UNIT). (a ~> b) -> (CoproductColimit d %% a) ~> (CoproductColimit d %% b) Source Comments # | |
type (CoproductColimit d :: UNIT -> k -> Type) %% 'U Source Comments # | |