If you have seen my most recent post about explicit currying in python, you may remember that I hadn’t bothered to wrap my head around trying to use keyword or default arguments. Also, as the title of my article stated, you had to very explicitly design the function to be curried, instead of having something reusable.
Well, some people cleverer than me took a good whack at it and here’s what they’ve got:
Currying in Python – from the Computer Science blog. He goes over every step of the way towards making a function that could be used as a decorator (though he doesn’t seem to know what a decorator is; he’s new to python) to transform normal functions into curried functions. It’s not especially pythonically written (again, he’s new to the language), and it’s big, but it works.
and
KISS Python Curry – a github python module by