On Jul 20, 4:19 pm, Meikel Brandmeyer <m...@kotka.de> wrote:

> I think he wants more something like this:
>
> (ns require.farm)
>
> (def xxx '[[foo.bar [a :as a] [b :as b]] frob.nicate])
> (def yyy '[[foo.bar.c :as c]])
>
> (ns require.userA
>   (:require [require.farm :as requires]))
>
> (apply require requires/xxx)

    Yes -- this is the kind of thing I was wondering about (although
Chas' answer is immediately useful too--thanks).

    At this point I'm wondering if this is an idiomatic way to work
with Clojure namespaces especially in larger projects with many sub-
components as namespaces?  Maybe one day we could have:

(ns myproject
    (:require subproject.* :as :suffix) to require subproject.foo1
subproject.foo2...


Thanks

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

Reply via email to