[Python-ideas] sequence.apply(function)

Steven D'Aprano steve at pearwood.info
Sat Sep 1 08:56:21 CEST 2012

On 01/09/12 16:29, anatoly techtonik wrote:
> Idea: Apply function to every element of a sequence and return new
> sequence. It's more pythonic than map(), because clearly works only as
> a list method.

I think you mean "less pythonic".


We already have map, and it works lazily on any iterable. Why do we
need something less efficient and more limited?


More information about the Python-ideas mailing list