Box

Contents

Box#

class discopy.grammar.categorial.Box(name, dom, cod, **params)[source]#

Bases: Box, Diagram

A categorial box is a grammar rule in a categorial diagram.

Parameters:
  • name (str) –

  • dom (T) –

  • cod (T) –