Favorite non-python language trick?
Mandus
mandus at gmail.com
Sat Jun 25 15:23:18 EDT 2005
Sat, 25 Jun 2005 16:06:57 GMT skrev Lee Harr:
>>> Higher-order functions like map, filter and reduce. As of Python 3000,
>>> they're non-python tricks. Sigh - i guess it's time for me to get to know
>>> list comprehensions a bit better.
>>>
>
>
> Couldnt there just be a "functional" module ?...
>
> from functional import map, filter, reduce
but lambda is grammar, so probably not so easy to import?
--
Mandus - the only mandus around.
More information about the Python-list
mailing list