FamousWhy Editor: PyMultimethods is a famous software because it provides a pythonic library for implementing multimethods such as generic methods, generic functions, multiple dispatch.
Multimethods are functions that exhibit polymorphic behaviour, where all of the function arguments are considered during dispatch.
Functionality is exposed via function decorator or, optionally, a direct class interface.
Features :
- Dispatch by type
- Dispatch by value
- Invoking multimethods using positional arguments
- Invoking multimethods using keyword arguments
- Implementing class methods as multimethods
- Function decorator?, allowing simple, intuitive registration? of multimethods
- Automated Test Suite?
- Extend multimethods in the global registry (automatic, by function name) or by explicitly specifying which multimethod to extend (via extend() method).
The concept of multimethods is similar to the concepts of overriding and overloading that are present in C++, Java, and other statically-typed languages.
The difference between PyMultimethods and overloading in these other languages is that PyMultimethods selects the actual function to call at run-time, versus compile-time for C++ and Java. In this respect, multimethods are similar to overriding. In fact, multimethods could be described as extending the concept of overriding to multiple (instead of just the implicit self/this) parameters. (On the other hand, C++/Java's overriding/single-dispatch could just as easily be described as a special case of multimethods.)
PyMultimethods 0.2 is a GPL. Please read this article and discover
what exactly does GPL mean.
Whether you're happy or not testing and using PyMultimethods 0.2, be our guest and let's solve all the problems related to this software together. Feel free to use:
PyMultimethods 0.2 comments section. No registration required! Please respect the general posting rules and do not abuse our system!
We strongly recommend you to use the following download manager, accelerator and duplicate file manager to avoid any downloading problems:NoClone
FamousWhy is not responsible for the content of the publisher's descriptions or user reviews and comments on this site.
All submitted content and ratings become the sole property of FamousWhy and may not be copied without permission.
We also reserve the rights to approve or refuse the written comments posted on FamousWhy within up to 48 hours.