2008-01-29 Pythonでmapcan Python Lisp def mapcan(func, seq): import operator return reduce(operator.add, map(func, seq), [])