dear clojure users, i have learned that for a ring/compojure-app the embedded jetty service can be started like this:
(def app (handler/site routes)) (defn start [port] (ring/run-jetty (var app) {:port (or port 8080) :join? false})) can anyone explain, what is the var for ? why '(var app)' or #'app ? i found some remarks about being able to change the app without having to restart the server but how exactly does this relate ? thanks & have a successful time -- 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