More efficient currying