The current behavior is the logical one.
One way to see why: we would expect that
a.allSatisfy(predicate) && b.allSatisfy(predicate)
…if and only if…
(a + b).allSatisfy(predicate)
What if b
is empty?
The current behavior is the logical one.
One way to see why: we would expect that
a.allSatisfy(predicate) && b.allSatisfy(predicate)
…if and only if…
(a + b).allSatisfy(predicate)
What if b
is empty?