map/filter/reduce/lambda opinions and background unscientific mini-survey
egbert
egbert.bouwman at hccnet.nl
Sun Jul 3 05:12:01 EDT 2005
On Sat, Jul 02, 2005 at 08:26:31PM -0700, Devan L wrote:
>
> Also, map is easily replaced.
> map(f1, sequence) == [f1(element) for element in sequence]
>
How do you replace
map(f1,sequence1, sequence2)
especially if the sequences are of unequal length ?
I didn't see it mentioned yet as a candidate for limbo,
but the same question goes for:
zip(sequence1,sequence2)
--
Egbert Bouwman - Keizersgracht 197 II - 1016 DS Amsterdam - 020 6257991
========================================================================
More information about the Python-list
mailing list