raiseException("Incoherence FlecheCommaCategorie : le carre ne commute pas, "+str(self.cible.f)+" o "+str(T(self.k))+" != "+str(S(self.h))+" o "+str(self.source.f))
classCommaCategorie(Categorie):
"""
Soit C une catégorie, T et S deux foncteurs de E dans C et D dans C.
Cette catégorie est (T|S).
Voir Mac Lane "Categories for the working mathematician" P.45
"""
def__init__(self,T,S):
ifT.cat_cible!=S.cat_cible:
raiseException("Incoherence CommaCategorie : T et S de cibles differentes : "+str(T)+" != "+str(S))