----- Original Message ----- From: "Hugh Sasse Staff Elec Eng" <hgs / dmu.ac.uk> To: "ruby-talk ML" <ruby-talk / ruby-lang.org> Sent: Tuesday, August 06, 2002 4:37 AM Subject: Re: Super-iterator? (long) > How about deleting odd? and even? and having: > > def mod?(x) Interesting. I'd probably have both. I think 90% of the time (for me) I'm just concerned with "every other" iteration. And that's when I care at all, which is less than 10% of the time. > Someone else made this point about next updating count. > I'd suggest next and next! to overcome this. Interesting. I can see that. > Should there be an inspect that tells you about @count_ as well? inspect was just there for my experimenting convenience... what it should be remains to be seen. Thanks, Hal