On Mar 18, 1:56 am, Sverre Johansen <sverre.johan...@gmail.com> wrote: > The alternative is gen-class, but then I need to first compile and add > the classes to my class path, and for me that doesn't match well with > the way I like to develop using Emacs and Slime. I want to implement > one method at the time and "play around" without having to restart the > JVM between each change.
You only need to compile once. gen-class only generates a stub Java class that dispatches method calls to functions in the associated Clojure namespace. Once it's loaded, you can redefine the Clojure functions at the REPL and see the new behavior immediately. -Stuart Sierra --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---