Re: Question re Mikael Sundberg's Getting started with compojure

2010-09-01 Thread Mikael Sundberg
Hi thanks for the great question, and the answer! i have updated the post to contain the information. http://cleancode.se/2010/08/30/getting-started-with-compojure.html /Micke 2010/8/31 Michał Marczyk : > On 31 August 2010 16:52, Jacek Laskowski wrote: >> As we're at it, how does people reload

Re: Question re Mikael Sundberg's Getting started with compojure

2010-08-31 Thread Michał Marczyk
On 31 August 2010 16:52, Jacek Laskowski wrote: > As we're at it, how does people reload functions while connected to a > remote Clojure app from within Emacs? Do they also > (require...:reload)? Is there a tutorial/article about it? One possibility is to open the remote file wherein the function

Re: Question re Mikael Sundberg's Getting started with compojure

2010-08-31 Thread Jacek Laskowski
On Tue, Aug 31, 2010 at 4:44 PM, Mark Rathwell wrote: > > 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.s

Re: Question re Mikael Sundberg's Getting started with compojure

2010-08-31 Thread Mark Rathwell
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 some

Question re Mikael Sundberg's Getting started with compojure

2010-08-31 Thread Jacek Laskowski
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/0