defcurried macro to generate all possibly arities for a given function, which, when invoked, return partial applications.