-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mar 13, 2007, at 10:12 AM, Nick Coghlan wrote:
> Generics can live quite happily inside modules and as methods on > objects. > > The important aspect is the ability to tell the generic function > "here's how to frobnicate a doodad", even though the basic > frobnicator knows nothing about doodads, and doodads know nothing > about frobnicating. That machinery can be designed to work for any > callable. Are generics then just a way of doing adaptation on a per-function basis rather than a per-object basis? - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iQCVAwUBRfayNnEjvBPtnXfVAQKK1QP+MdlrrA/JSXJb4z81f1LHjrymHrtrjip6 +1dmxmj2MQanglqMyoDP8NVplBkX7UH0dWounk2qLl8sxxWJbeugl1U5mCIfH1or zvzkEepZ587bCT0lmc11JpWlwcZG55ehaczo2l5gtLtYBDcAM4g7OJvQbbOWbNfQ PWrlILqUTwQ= =36V0 -----END PGP SIGNATURE----- _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com