Function composition and inverse with Python
Yesterday I wanted to implement function composition and inverse.
The first approach with classes was this (check how to use it within the tests in classes Plus2 and Times5):
class ComposableInversible:
def op(self, *a, **kw):
pass
d...
tenuki.hashnode.dev9 min read