functional.py provides support for a functional style of Python programming.
It includes support for closures, curried functions, lazy expressions, lazy tuples (functional programming languages call these lazy lists, but since lists are mutable in Python, tuples are closer in meaning), and lazy equivalents for map, filter, reduce, and zip. Also some higher-order functions for composing functions and such.
functional.py is released under the GNU LGPL, and is available on SourceForge at:
I have tried to provide a wide range of the tools that a more functional style of Python programming might need, if there are any glaring oversights, please let me know.
Bryn Keller email@example.com