So I was playing with AOT for the first time. My main reason to use it is so the consumer Java code doesn't look so alien / run-timey.
The thing is, I encountered that the following line causes `lein compile` to hang: (defn -server [] (jetty/run-jetty #'app {:port 8000 :join? false})) (for those not familiar with Jetty, the expression causes a web server to launch.) I can sort of see why this code represents a fault, from a compiler's point of view. But OTOH, in e.g. Java it's not that much of a rare practice to bind a the result of a side-effectful op to a variable, right? My question is quite simply, why can't the given code compile? It is not entirely clear to me, as I don't thoroughly understand how Clojure's compiler works (or any compiler at all, for that matter). -- -- 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 unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.