Say I have

(defmulti foo :a)

(defmethod foo :key1 [arg] (str "key1"))
(defmethod foo :key2 [arg] (str "key2"))
...
(defmethod foo :key1000 [arg] (str "key1000"))

Scattered across couple of namespaces in a project.
Since the dispatch relies on runtime data, I am imagining dead code eliminating 
the unused ones are difficult, and if that is the case want to know whether it 
is a good idea to include a large body of defmethods in a single library, or it 
is better to serve them as a separate library.

Sorry if this question has been already asked / the question is unclear.

Thanks!

Ikuru

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/clojurescript.

Reply via email to