curry and curry on functions support