On 5/9/06, Phillip J. Eby <[EMAIL PROTECTED]> wrote: > At 06:19 AM, 9 May 2006 +0000, Talin <[EMAIL PROTECTED]> wrote: > >Now, generic functions are good at dealing with these kinds of > >situations. However, generic functions (as they are usually concieved) > >can only deal with specific, concrete types, not "types which satisfy > >some constraint". > > [Discussion of Haskell's typeclasses snipped]
I tried to follow the recent generic functions / adaptation in Python 3000 discussion, but the details quickly went over my head. Could Phillip or some other kind soul give a simple example / summary of how the final proposal addresses this "types which satisfy some constraint" question? _______________________________________________ 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