Hi,
Am 14.05.2011 um 00:35 schrieb Trastabuga:
> I(defn -main [& args]
> (do
> (require 'swank.swank)
> (swank.swank/start-repl 4006))
> (run-jetty main-routes {:port 8080 :join? false})
> )
You have to delay the resolution.
(defn -main
[& args]
(require 'swank.swank)
(@(resolve 'swank.swank/start-repl) 4006)
(run-jetty main-route {:port 8080 :join? false}))
Other than that, I agree with Jonathan. Why do you have to do that instead of
doing it the “usual” way?
Sincerely
Meikel
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en