ResiduatedMonoid#

class discopy.abc.ResiduatedMonoid[source]#

Bases: ColouredMonoid, Generic

A monoid is residuated when it comes with methods over and under with syntactic sugar << and >>.

abstract over(other)[source]#

The right-to-left exponential object self to the other.

Parameters:

other (C1)

Return type:

C1

abstract under(other)[source]#

The left-to-right exponential object self to the other.

Parameters:

other (C1)

Return type:

C1