Sean Parent just published via Twitter this amazing short piece of code.

for_each_argument by Sean Parent

The code is: