[Python-Dev] product()

Jeremy Fincher fincher.8 at osu.edu
Sun Oct 26 08:20:59 EST 2003

On Saturday 25 October 2003 11:36 pm, Guido van Rossum wrote:
> Do we need allfalse() and anytrue() and anyfalse() too?  These can all
> easily be gotten by judicious use of 'not'.  I think ABC has EACH,
> SOME and NO (why not all four? who knows).

There was a recent thread here ("Efficient predicates for the standard 
library") in which the names "any" and "all" were discussed rather than 
"anytrue" and "alltrue."  Those are at least their common names in the 
functional programming languages I know, and it easily sidesteps the 
confusion that might be caused by having an "anytrue" without an "anyfalse" 
or an "alltrue" without an "allfalse."


More information about the Python-Dev mailing list