Hi, I've run into the issue that when declaring a multimethod using defmulti, the dispatch-function has to be not only declared, but must actually be defined.
I.e. the following does not work: (declare my-dispatch-fn) (defmulti my-multi my-dispatch-fn) ; throws exception due to unbound Var (defn my-dispatch-fn [arg] :whatever) I don't know whether this behaviour is intentional (due to the caching- stuff with multimethods) or accidental; since the very reason for declare is to work around this kind of ordering issues, it would be nice if it would work in this case. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---