From: Michael Neumann Date: 2004-08-27T04:14:42+09:00 Subject: Re: python generators to ruby closures, help zuzu wrote: > can anyone help me decode the following python example using > generators into The Ruby Way using closures? I'm sure the Ruby version must be human-readable... maybe you can describe in short words, what the Python example tries to achive? You might have a look at generator.rb which ships with Ruby and implements generators or "streams" with continuations. Regards, Michael