Dan Sugalski writes:
: At 5:17 PM +0000 2/8/02, Simon Cozens wrote:
: >Dan Sugalski:
: >>  Can't. Needs to be a linked list. Otherwise we can't nest data structures
: >>  well.
: >
: >Thanks; I knew there had to be a reason, couldn't remember what it was.
: 
: Now all we need to do is figure out whether keys at the lowest levels 
: will deal with slices and ranges, or whether we should emit chunks of 
: bytecode to explicitly iterate through things.

The object at the bottom has to be able to process slices and ranges
in case it wants to return a lazy list of its own.  You can't just
iterate it on behalf of the object.

Larry

Reply via email to