Re: ns defaults

2013-07-22 Thread Alex Fowler
espaces 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. >> >> >&g

Re: ns defaults

2013-07-19 Thread Jozef Wagner
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. > > > You can do this without ha

Re: ns defaults

2013-07-19 Thread Stuart Sierra
On Fri, Jul 19, 2013 at 3:03 PM, Jozef Wagner wrote: > Yes, but this seems to work only in Clojure, not in ClojureScript. That's true. -S -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroup

Re: ns defaults

2013-07-19 Thread Stuart Sierra
It would be > convenient if I could specify ns defaults somewhere and > those declarations would be used for every compiled > namespace. You can do this without hacking the compiler if you're willing to add one extra line to your source files. Just define a function that `requ

Re: ns defaults

2013-07-18 Thread Gary Trakhman
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

ns defaults

2013-07-18 Thread Jozef Wagner
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