Or, for that matter, Specializing Functions with Currying.
I've been meaning to write a node on generalized-currying and/or arg-swizzling. I should do that.
Yours in pedantry,
F o x t r o t U n i f o r m
"Lines of code don't matter as long as I'm not writing them." -- merlyn