Category#
- class discopy.traced.Category(ob=None, ar=None)[source]#
Bases:
discopy.monoidal.Category
A traced category is a monoidal category with a method
trace
.- Parameters:
ob (type) – The objects of the category, default is
Ty
.ar (type) – The arrows of the category, default is
Diagram
.