Function#
- class discopy.python.function.Function(inside, dom, cod)[source]#
Bases:
discopy.abc.CategoryPython function with sequential composition.
- Parameters:
inside (Callable) – The callable Python object inside the function.
dom (type) – The domain of the function, i.e. its input type.
cod (type) – The codomain of the function, i.e. its output type.
Summary
- ob#
alias of
tuple[type, …]