Learning currying -- yummmm.