Re: Some new iterator methods?

[prev] [thread] [next] [Date index for 2004/10/26]

From: Tony Bowden
Subject: Re: Some new iterator methods?
Date: 18:37 on 26 Oct 2004
On Tue, Oct 26, 2004 at 01:13:41PM -0400, John Day wrote:
> wish I had a couple of new iterator methods, particularly:
> ->previous
> ->last
> 

These shouldn't be too difficult to implement. There are some issues due
to the possibility of mapping methods expanding into multiple objects,
but if you implement each of these in terms of next() (or factor out the
part of next that selects the current location from the part that gets
the item there) it should reduce most breakage. (If someone really wants
to iterate through lists that may change in size then they can send the
patch to allow it!)


Tony

Documentation Fixes
Tom Hukins 21:06 on 25 Oct 2004

Some new iterator methods?
John Day 17:13 on 26 Oct 2004

Re: Some new iterator methods?
Tony Bowden 18:37 on 26 Oct 2004

Re: [CDBI] Re: Some new iterator methods?
Dave Cash 14:18 on 04 Nov 2004

Re: Documentation Fixes
Tony Bowden 09:53 on 30 Oct 2004

Generated at 11:34 on 01 Dec 2004 by mariachi v0.52