There is no pot of gold at the end of the no-namespacing rainbow. Only sadness. :'(
On Sat, Aug 30, 2014 at 9:29 AM, Andy Fingerhut <andy.finger...@gmail.com> wrote: > How would another Lisp avoid giving you an error when referring to a > symbol that has no value? > > If you just want your entire program in a single namespace, and don't want > to use any libraries in other namespaces, then simply don't use the "/" > character in your symbol names. > > If you want to use the symbols in other namespaces without a "namespace/" > prefix in front of them, you can use a declaration like this: > > (ns my.namespace.name > (:require [other.namespace :refer :all] > [yet.another.namespace :refer :all])) > > Then you can use the names of public symbols from other.namespace and > yet.another.namespace in your code without the namespace prefix. > > Andy > > > On Sat, Aug 30, 2014 at 1:02 AM, Sreeharsha Mudivarti < > msreehar...@gmail.com> wrote: > >> >> >> On Saturday, August 30, 2014 12:34:24 AM UTC+5:30, Ashton Kemerling wrote: >>> >>> Bar/baz refers to the symbol baz in the namespace bar. If you haven't >>> created and imported bar, that's an error. >>> >>> >> This feels too java-ish for a lisp. >> Can I avoid this by some form of declaration ? >> >> >> -- >> 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. > -- 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.