`nrepl-send-op` can only handle a list of strings
This means that the currently untested variable type region results in a defun which errors out, because it tries to pass it a list with a list inside it. Stringifying the elements of list fixes the problem on the elisp side, but translation is still needed on the clojure side (probably in wrap-discover, I guess.)
Just cleaning up a bit, because I raised all these issues in a hurry prior to the conj:
(eval (nrepl-discover-command-for '(("args" ("test" "region" ""))
("name" . "region-failure"))))
(nrepl-region-failure)
=> nrepl-netstring: Wrong type argument: stringp, (nil 4909 4782)
There are probably similar problems with the other nrepl-discover argument types which try to send raw lists.
I don't know if it's the right way around this problem, but if you convert the list to a string (the way I'm currently doing in in my modification to the output from nrepl-discover-command-for), then the nrepl-send-op command goes through, and is automatically converted to a lisp on the server side.