Function#
- class discopy.python.function.Function(inside, dom, cod)[source]#
Bases:
Composable
[type
],Whiskerable
Python 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