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
In reply to Re^2: Functional Programming & method rewriting
by FoxtrotUniform
in thread Functional Programming & method rewriting
by SpanishInquisition
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |