Fork me on GitHub

I'm trying to make my own function that operates on regions and I went to look at something like evil-yank and it has (interactive "<R><x><y>") I try to replicate it in my own program but it doesn't like the interactive code. I can't find a reference to this particular form, any Ideas?