[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ADT Lib (4.2) (is it 5 now?)




Michael van Acken wrote:
> I'm not sure what you mean with `Iterator'.  Myself, I see both
> `Rider' and `Modifier' as something that is moved along by the user,
> while an `Iterator' is something that is applied to a list (container,
> whatever) as a whole, as an atomic action (from the callers point of
> view).  Therefore I will quote again the relevant part of List.Mod
> (they are list-centric, I know), and ask you to describe how your idea
> of `Iterator' differs from mine:

I forgot about those (Apply(), Map(), and Select()).  (Sorry!)  I was
thinking of Iterators as separate classes, just like Riders and Modifiers,
but I can't think of any particular advantage to doing it that way.

So, basically, my idea of iterators seems to match yours.


Eric