On Mon, Nov 28, 2011 at 7:42 PM, Travis Parks <jehugalea...@gmail.com> wrote: > I find that interesting. I also find it interesting that the common > functional methods (all, any, map, filter) are basically built into > Python core language. That is unusual for most imperative programming > languages early-on.
all and any are actually quite recent additions. Guido added them to placate users of "reduce(lambda x, y: x and y, foo)" back when the plan was to remove reduce in Python 3. Cheers, Ian -- http://mail.python.org/mailman/listinfo/python-list