Dumb python questions
Martin Sjögren
martin at strakt.com
Wed Aug 15 07:51:41 EDT 2001
On Wed, Aug 15, 2001 at 11:06:40AM +0000, Duncan Booth wrote:
> My opinion is that the for loop in Python is one of the things that makes
> it great.
With generators and iterators, most definitely! Without iterators it's a
bit painful at times, but the iterators really rock, it almost feels like
the lazy evaluation in Haskell =)
Martin
--
Martin Sjögren
martin at strakt.com ICQ : 41245059
Phone: +46 (0)31 7710870 Cell: +46 (0)739 169191
GPG key: http://www.strakt.com/~martin/gpg.html
More information about the Python-list
mailing list