I'm not sure if this is the question you are asking, but to reload a namespace in a repl, depending on whether you are use-ing the ns or require-ing it, there are :reload and :reload-all keyword arguments accepted:
(require '[foo.something :as something] :reload) (require '[foo.something :as something] :reload-all) ... On Tue, Aug 31, 2010 at 10:24 AM, Jacek Laskowski <ja...@laskowski.net.pl>wrote: > Hi, > > I've been reading Mikael Sundberg's Getting started with compojure [1] > and been wondering how to reload a function "display" (without Emacs > and swank) so I don't have to restart repl. I'd love to update the > function while running lein repl. Is it possible?* How? > > [1] http://cleancode.se/2010/08/30/getting-started-with-compojure.html > > * I know it's possible, but dunno how and therefore the question :) > > Jacek > > -- > Jacek Laskowski > Notatnik Projektanta Java EE - http://jaceklaskowski.pl > > -- > 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<clojure%2bunsubscr...@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 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