
11 Aug
2005
11 Aug
'05
6:10 a.m.
Rob Stewart wrote:
From: Florian Stegner <FlSt@gmx.de>
Rob Stewart wrote:
some_of( n, m, s ) <PRED> x -> is true if more than n and less than m+1 elements of s satisfy[...]
I don't agree. Why the strange treatment of the two limits? We need to decide whether the count is inclusive, exclusive, or both (left inclusive, right exclusive). My assumption has been inclusive for both values.
Was a mistake in writing. I meant that both are imclusive.
From your description of each_of: Your implementation of all_of() is correct. I'm right? And each_of needs to refactored?
My all_of implementation was correct. I think we can eliminate each_of.
I aggree. Florian