Add varargs... to generic function

The macro transforms the code which defines f, it doesn’t act on the function.