Nevermind. I closed my repl session and then started a new one, and then everything worked. Apparently the (defmulti) cannot be redefined in a repl session, you have to quit and restart. (I was using lein repl.)
you can redefine it. either pass the var instead of the dispatch function via sharp-quote, #'some-dispatch-function
(I think it’s deref’d at runtime though, might be slower, dunno), or unmap the dispatch function (ns-unmap *ns* 'some-dispatch-function)
.
Instead of editing away your original question, could you please make a follow-up comment describing your fix? Deleting the question makes it difficult/unlikely for other people running into this to see the solution.
1 Like
For sure, in the future I’ll just edit it.
1 Like