Curry

Contents

Curry#

class discopy.biclosed.Curry(arg, n=1, left=False)[source]#

Bases: discopy.monoidal.Bubble, Box

The currying of a biclosed diagram.

Parameters:
  • arg (Diagram) – The diagram to curry.

  • n – The number of atomic types to curry.

  • left – Whether to curry on the left or right.