Clojure does not guarantee binary compatibility between versions, but almost always happens to be compatible. Yet, it's best not to distribute your Clojure libs as compiled classes, much better to do so as source.
For a gen-class though, it works like Java. Java guarantees backward compatibility of classes, as far as I know. So you should be good as long as you make sure that none of the Clojure code gets AOTed and included in the jar by accident as you compiled the gen-class. Like keep your gen-class in their own namespace with only the -xyx fns in it. And have those instantly delegate to a call to another namespace. Or what I do is I AOT, but then when I package the Jar, I only include the gen-class .class file in it. I hand pick it for inclusion in the Jar, and don't include any of the other .class files. -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/clojure/67955ff9-c70a-44e9-b9be-081056fc10c7%40googlegroups.com.