feature request: a better str.endswith

Paul Foley see at below.invalid
Thu Jul 24 05:11:34 CEST 2003


On 22 Jul 2003 01:38:35 GMT, Bengt Richter wrote:

> I suspect it will more often make sense read aloud in the general

>   if any_true(pred, seq):

> than

>   if the(pred, seq)

> I guess the full set of functions might be
> any_true, any_false, all_true, and all_false.

> or maybe someone can think of better short phrase?

some, notevery, every, and notany, respectively.  Just like in a
certain other language :-)

-- 
Just because we Lisp programmers are better than everyone else is no
excuse for us to be arrogant.                                -- Erann Gat

(setq reply-to
  (concatenate 'string "Paul Foley " "<mycroft" '(#\@) "actrix.gen.nz>"))




More information about the Python-list mailing list