Stu,

Try:

(ns myfuns
   (:require
       (foo.baz [a :as a]
                [b :as b]
                [c :as c]))

Cheers,

- Chas

On Jul 20, 2011, at 12:36 AM, stu wrote:

> Hi,
> 
> In larger Clojure projects with nested namespaces I've found there are
> less namespace pollution issues if I avoid (ns... :use...) forms in
> preference to (ns... :require...) forms.  This approach sometimes
> leads to namespace constructs like:
> 
> (ns myfuns
>    (:require
>        [foo.baz.a :as a]
>        [foo.baz.b :as b]
>        [foo.baz.c :as c...]))
> 
> Is there an idiomatic way of coalescing these :require clauses into
> a :require "farm" that can be simply :require'd or is this the wrong
> way to manage namespaces in Clojure projects?
> 
> Any advice much appreciated,
> 
> Stu
> 
> 
> -- 
> 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 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

Reply via email to