What is Python's answer to Perl 6?

Reinhold Birkenfeld reinhold-birkenfeld-nospam at wolke7.net
Sat Oct 30 11:10:23 EDT 2004


Peter Hansen wrote:
> Michael Hoffman wrote:
>> Reinhold Birkenfeld wrote:
>> 
>>> C. Functions that could be made attributes of lists/sequences
>>>
>>> max, min, len, enumerate, sum
>>>
>>> But that would require to implement them for all sequence types or
>>> implement a common basetype 'seq'.
>> 
>> And iterators?
> 
> And dicts.  And ....

Exactly the problem.

Reinhold

-- 
[Windows ist wie] die Bahn: Man muss sich um nichts kuemmern, zahlt fuer
jede Kleinigkeit einen Aufpreis, der Service ist mies, Fremde koennen
jederzeit einsteigen, es ist unflexibel und zu allen anderen Verkehrs-
mitteln inkompatibel.               -- Florian Diesch in dcoulm



More information about the Python-list mailing list