[Python-3000] PEP 3100 Comments
Mike Krell
mbk.lists at gmail.com
Tue May 9 18:56:48 CEST 2006
On 5/9/06, Phillip J. Eby <pje at telecommunity.com> wrote:
> At 06:19 AM, 9 May 2006 +0000, Talin <talin at acm.org> 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?
More information about the Python-3000
mailing list