Example of a syntax-quoted form

I asked on #emacs and I got these examples.
Sorry to be nitpicky, but this might not be the best example. This macro actually has an advantage over the function above. Namely, the compiler will expand it to a defun and will understand that `my-generated-function-foo` is defined, while the function version above will yield a `function is not known to be defined.´ warning.