This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients belopolsky, benjamin.peterson, gvanrossum, rhettinger
Date 2008-03-12.22:41:50
SpamBayes Score 0.061904386
Marked as misclassified No
Message-id <1205361711.47.0.637180849565.issue2186@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008-03-12 22:41:51belopolskysetspambayes_score: 0.0619044 -> 0.061904386
recipients: + belopolsky, gvanrossum, rhettinger, benjamin.peterson
2008-03-12 22:41:51belopolskysetspambayes_score: 0.0619044 -> 0.0619044
messageid: <1205361711.47.0.637180849565.issue2186@psf.upfronthosting.co.za>
2008-03-12 22:41:50belopolskylinkissue2186 messages
2008-03-12 22:41:50belopolskycreate