python-variants/variants

Make composable with singledispatch

pganssle opened this issue · 0 comments

The documentation for functools.singledispatch is here. There is a backport here.

We should be compatible with this - I imagine a very strong use case for this library would be an interface that is single dispatched on the primary function but with explicit variant forms for when you want stricter behavior.