From: Avdi Grimm Date: 2008-11-01T23:44:41+09:00 Subject: Re: Iterator objects and lazy evaluation On Sat, Nov 1, 2008 at 4:58 AM, Yuh-Ruey Chen wrote: > 1) Are there equivalents for iteration/enumeration functions like map > that return iterator/enumeration objects (in a Python sense)? Have a look at the Enumerator standard library: http://ruby-doc.org/stdlib/libdoc/enumerator/rdoc/index.html -- Avdi Home: http://avdi.org Developer Blog: http://avdi.org/devblog/ Twitter: http://twitter.com/avdi Journal: http://avdi.livejournal.com