Em Qui, 2009-01-08 às 13:42 +1100, Timothy S. Nelson escreveu:
> On Wed, 7 Jan 2009, Jon Lang wrote:
> > How would I define the method for writing to an iterator?
> I guess I'd assumed that writing to an iterator wouldn't be possible,
> as there are kinds of iterators where writing to them m
On Wed, 7 Jan 2009, Jon Lang wrote:
I was just reading through S07, and it occurred to me that if one
wanted to, one could handle stacks and queues as iterators, rather
than by push/pop/shift/unshift of a list. All you'd have to do would
be to create a stack or queue class with a private list a