Pieter Laeremans <pie...@laeremans.org> writes: Hi Pieter,
> when I run "lein compile" whenever the DATABASE_URL is not defined at > compile time. > > However I would expect this would be evaluated at runtime. > > Is this a bug, or more likely something I don't grasp, can someone > point it out for me? The `let' in your code is top-level, so loading that file which is clearly needed for compiling it, will execute that form. It's quite unusual to have anything except defs top-level. BTW, it's equally uncommon to compile clojure code in advance. It gets JIT-compiled anyway as soon as the files are loaded. Bye, Tassilo -- 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