Iterators & generators (RE: Real Problems with Python)
Harald Hanche-Olsen
hanche at math.ntnu.no
Tue Feb 15 19:19:31 EST 2000
+ Dan Schmidt <dfan at harmonixmusic.com>:
| | [explanation snipped]
|
| This is pretty much the same way that Knuth explains coroutines in
| volume 1 of The Art of Computer Programming -- which you all have,
| right? -- in section 1.4.2.
Uh, yeah, but what's left of my copy is in Norway and I am on
sabbatical leave in the US of A. (And I've read my copy to pieces
(which didn't take much, with the paperback version) and *still*
wasn't aware it's in there? I've just got to reread it when I get
back, I guess.)
oh-well-but-a-good-explanation-can-bear-repeating-ly y'rs,
--
* Harald Hanche-Olsen <URL:http://www.math.ntnu.no/~hanche/>
- "There arises from a bad and unapt formation of words
a wonderful obstruction to the mind." - Francis Bacon
More information about the Python-list
mailing list