Alexander Belopolsky <[EMAIL PROTECTED]> added the comment:

It may be too late to express my opinion, but why symmetry with map is 
so important?  There are several reasons why sequence, predicate order 
is natural for filter and function, sequence is a natural order for map.

1. In list comprehensions predicate comes last: compare [f(x) for x in 
seq] and [x for x in seq if pred(x)].

2. In English, map(f, sec) = "Map f over seq" while filter(pred, seq) = 
filter seq through pred.

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2186>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to