Int#
- discopy.interaction.Int(category)[source]#
The Int construction, i.e. the free ribbon category on a given balanced traced category, with
interaction.Tyas objects andinteraction.Diagramas arrows.- Parameters:
category (TracedCategory) – A balanced traced category, i.e. an arrow type.
- Return type:
Example
>>> from discopy.ribbon import Diagram as D >>> assert Int(D) == Diagram[D]