Could you abuse a reader literal? Seems like it could work at first glance.
On Thu, Jul 18, 2013 at 4:34 AM, Jozef Wagner <jozef.wag...@gmail.com>wrote: > Compiler loads and refers clojure.core namespace for each new namespace. In > my projects, I often have one or two namespaces I use nearly in every other > namespace. (e.g. clojure.tools.logging or clojure.string). It would be > convenient if I could specify ns defaults somewhere and those declarations > would be used for every compiled namespace. > > This feature complects things a bit, as it splits ns declaration in two > locations, but it may turn out to be practical enough at the end. > > I've already implemeted this in Clojurescript, see analyzer.clj in > http://goo.gl/vxaSu . ns defaults are stored in a classpath in > ns-defaults.edn file, and it may look like this > > {:require-macros ([wagjo.data.string :as us]) > :require ([wagjo.data.string :as us] > [clojure.string :as cs]) > ;; include only in namespaces matching following regex > :include \"^foo\"} > > I would like to hear your opinions and thoughts on this. Thanks, > JW > > -- > -- > 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. > > > -- -- 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.