Antoine Pitrou <pit...@free.fr> added the comment: > However, here an example less confusional > > >>> adder = curry(lambda (x, y): (x + y)) > >>> adder3 = adder(3) > >>> adder3(4) > 7 > >>> adder3(5) > 8 > > Currying let you defining new functions on other functions.
But so does functools.partial. So the question is, what use case does it help that functools.partial doesn't? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13430> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com