[PEAK] Dispatching without generic functions.

Phillip J. Eby pje at telecommunity.com
Tue Jul 25 12:36:50 EDT 2006

At 12:33 PM 7/25/2006 +0200, Gabriel Jägenstedt wrote:
>def drink3(n):
>     print 'You choose 3'
>How would this last method be added to drink? The rule that should be
>passed can easily be stored in a dictionary or list or tuple or whatever
>but I don't know how to make it work.


More information about the PEAK mailing list