I've implemented TreatIterator::count(), but it's not clear what skip() should
do, exactly. Should it just call its' child's skip()? Should it do some other
checks? If so, what?
The problem is that skip() only reports whether there are *more* left, not how
many are left.
What if the sequence has 5 elements, you tell it to skip 4, and the quantifier
is 1? Is that invalid (because there were originally 5) or valid (because
there is now exactly 1 left)?
(You can construct similar "what if" questions for the other quantifiers as
Your team Zorba Coders is subscribed to branch lp:zorba.
Mailing list: https://launchpad.net/~zorba-coders
Post to : email@example.com
Unsubscribe : https://launchpad.net/~zorba-coders
More help : https://help.launchpad.net/ListHelp