Curry# class discopy.closed.Curry(arg, n=1, left=True)[source]# Bases: Bubble, Box The currying of a closed 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.