Ob

Contents

Ob#

class discopy.braided.Ob(name, dom=monoidal.Colour('white'), cod=monoidal.Colour('white'), is_dagger=False)[source]#

Bases: discopy.monoidal.Wire

A braided object is a self-dagger monoidal.Wire. From braided categories onwards colours stop making sense, i.e. we cannot add colours to braids or swaps in any meaningful way, so its colours are always white.

Parameters:
  • name (str) –

  • dom (Colour) –

  • cod (Colour) –

  • is_dagger (bool) –