> If people really want to be able to combine enumerator methods for
> higher efficiently the Collection hierarchy should be fixed. Having
> external iterator objects like in C++ and Java is not that bad after
> all:
>
>     result := aCollection iterator
>        select: [ :e | ... ];
>        collect: [ :e | ... ];
>        contents

It's already there and it's called #readStream. :-)  It only lacks #size.

See http://code.google.com/p/pharo/issues/detail?id=958 for an outline 
of the implementation.

Paolo


_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to