I was recently reviewing some of the forthcoming changes to Python in version 2.5, and came across a nifty little bit of functional programming. As far as I can tell, there is no direct analog in Ruby, but I think I was able to come reasonably close with the code below (the Python version is [...]Image may be NSFW.
Clik here to view.
Clik here to view.
