On Dec 16, 1:58 pm, Anh Hai Trinh <anh.hai.tr...@gmail.com> wrote: > > You might be interested in this library <http://pypi.python.org/pypi/ > stream>. > > You can easily create arbitrary "slice", for example > > i = mylist >> takei(primes()) > > will return an iterator over the items of mylist with a prime number > index, given that primes() return an iterator over prime numbers. >
Nice :-) I was starting to experiment data flow programming with python myself, although I'm just playing with it.. I find the idea of data flow programming fascinatin, and wonder if it can be considered a general-purpose program paradigm. Ciao ----- FB -- http://mail.python.org/mailman/listinfo/python-list