From: Hal Fulton Date: 2004-09-21T02:06:23+09:00 Subject: Re: Array#index block and rdetect David A. Black wrote: > > You could send a "last item" flag (Hal, are you reading? :-) Also you > could have 1-originating indices. > Haha, I am now. I haven't followed the entire discussion because beyond a certain point it was hurting my head to think about it. I do like the idea of knowing which is the "first" and "last" index without manually using a flag or something. For those who may be interested, I once wrote a little piece of code illustrating my idea of a "super-iterator." This idea had its problems, and it was never fleshed out. But I still like many of the motivations behind it. Hal