Category#
- class discopy.compact.Category(ob=None, ar=None)[source]#
Bases:
discopy.symmetric.Category,discopy.ribbon.CategoryA compact category is both a symmetric category and a ribbon category.
- Parameters:
ob (type) – The objects of the category, default is
pivotal.Ty.ar (type) – The arrows of the category, default is
Diagram.