FW: FW: [Python-Dev] Simple generator implementation

Paul Prescod paulp@ActiveState.com
Sat, 17 Mar 2001 17:50:39 -0800

I would call what you need for an efficient XSLT implementation "lazy
lists." They are never infinite but you would rather not pre-compute
them in advance. Often you use only the first item. Iterators probably
would be a good implementation technique.
Take a recipe. Leave a recipe.  
Python Cookbook!  http://www.activestate.com/pythoncookbook