Bar/baz refers to the symbol baz in the namespace bar. If you haven't created and imported bar, that's an error.
On Fri, Aug 29, 2014 at 11:56 AM, Sreeharsha Mudivarti <msreehar...@gmail.com> wrote: > (defn foo[] > (println bar/baz)) > (defn car[] > (println 42)) > --- > java -cp ~/clojure/clojure-1.6.0.jar clojure.main foo.clj > Exception in thread "main" java.lang.RuntimeException: No such namespace: > bar, compiling:(/Users/harsha/foobar/foo.clj:2:3).... > ... > In Ruby and Python, the compiler is silent. > -- > 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/d/optout. -- 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/d/optout.