Revert to old curry so partialy curried functions can be reused