beartype / plum

Multiple dispatch in Python
https://beartype.github.io/plum
MIT License
497 stars 22 forks source link

Refactoring: Clarifying the responsabilities of each component #102

Open gabrieldemarmiesse opened 9 months ago

gabrieldemarmiesse commented 9 months ago

Thus we simplify the whole logic of list swapping, cache invalidation and such. The resolver is fully in charge of doing whatever it sees fit with the inputs, without having other concepts getting in the way.

If one is brave enough, by changing only the Signature class + the resolver, it should be enough to support keyword arguments.

Closes #92