Sometimes, I just want to execute a function for a list of entries -- eg.:
for x in wowList:
installWow(x, \'installed by me\')
Sometime
If you're worried about the need to control the return value (which you need to do to use filter) and prefer a simpler solution than the reduce example above, then consider using reduce directly. Your function will need to take an additional first parameter, but you can ignore it, or use a lambda to discard it:
reduce(lambda _x: installWow(_x, 'installed by me'), wowList, None)