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
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
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
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
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
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