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 <michal.marc...@gmail.com>:
> On 31 August 2010 16:52, Jacek Laskowski <ja...@laskowski.net.pl> 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 in
> question is defined, modify it as appropriate, then either enter
> (require :reload ...) at the REPL or press C-c C-k (a SLIME / Swank
> binding) in the buffer with the modified code. (Or press C-c C-c with
> point inside the top-level form in question.)
>
> Another possibility -- which is open even if the app has been packaged
> as a .jar / .war file -- is to switch to the appropriate namespace at
> the REPL and evaluate the appropriate defn; or maybe stay in the user
> namespace and use clojure.core/intern / alter-var-root / .bindRoot to
> replace the root binding of the Var holding the function.
>
> Sincerely,
> Michał
>
> --
> 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 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

Reply via email to