Hi I'm new to Clojure but very keen to learn. I'm following Web Development with Clojure (http://www.vijaykiran.com/2012/01/11/web- application-development-with-clojure-part-1/) and came across the following code:
(run-jetty #'routes {:port (or port 8080) :join? false})) I know that #'routes is the same as (var routes) and that it is passing the "object" rather than the actual value BUT I don't understand why this is used. Specifically if I replace #'route with route the code works fine. I've read somewhere this is something to do with autoloading changes to code when developing for the web. Does anyone have a simple explanaition for #' and why it is used here. If you have some simple clojure code to illustrate its use I'd be really grateful. many thanks in advance for any help. Dave -- 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