Le Thu, 23 May 2013 00:31:38 -0700, Glenn Linderman <v+python at g.nevcal.com> a écrit : > > I suspect the point was not that add can be described as doing single > dispatch (it can't), but rather that add could possibly be > implemented in terms of lower-level functions doing single dispatch. > If that was the point, perhaps the next level point is trying to be > that single dispatch is a sufficient mechanism that can be augmented > (as above) to handle more complex cases. This is true, but as it is of everything Turing-complete. Generic functions don't add anything that you can't already do manually (for example with custom registries) :-) Regardless, I also agree that single-dispatch is much easier to reason about, and good enough for now. Regards Antoine.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4