Re: Writing to an iterator

2009-01-08 Thread Daniel Ruoso
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 makes

Writing to an iterator

2009-01-07 Thread Jon Lang
and writing to it. The first two parts are easy: has @!list; handles the first, and method prefix:= { .pop } handles the second (well, mostly). How would I define the method for writing to an iterator? -- Jonathan Dataweaver Lang