Cap

Contents

Cap#

class discopy.grammar.pregroup.Cap(left, right)[source]#

Bases: Cap, Box

A pregroup cap is a frobenius cap in a pregroup diagram.

Parameters:
  • left (Ty) –

  • right (Ty) –