[EMAIL PROTECTED] (Michael Lazzaro) writes:
> & | ! - superpositional
> all any one (none?)
I don't understand this, on several levels. The lowest level on which
I don't understand it is that testing whether an array is full of threes:
@array & 3
makes sense, but how do you test if all of its elements are more than six?
@array & { $^a > 6 } # ?
If you can't do the latter with the same operator as the former, why have
the operator at all?
Suddenly, @array.all?({ |$a| $a > 6 }) seems a lot more appealing. :)
--
10. The Earth quakes and the heavens rattle; the beasts of nature flock
together and the nations of men flock apart; volcanoes usher up heat
while elsewhere water becomes ice and melts; and then on other days it
just rains. - Prin. Dis.