[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how should Chain.iterator(n,n-1) work?
On Tue, Aug 24, 2004 at 11:40:24AM -0400, Navindra Umanee wrote:
> Ondrej LHOTAK <olhotak@sable.mcgill.ca> wrote:
> > So, here's one idea up for discussion: Let's have the chain handle the
> > special case of when the end statement is one before the start
>
> I'm not sure this is really a "special" case except that it's been
> happening fairly often -- as a consequence of confusion involving the
> use and meaning of Trap.getEndUnit().
The reason I say it's a special case is that it's the only way to
iterate over an empty list of statements.
Ondrej
>
> Cheers,
> Navin.