apply vs curry