Automate currying