no I don't have to :import them...I need the namespace loaded and then I need access to all the protocol vars (both can be achieved with :require)...The concrete records need importing by the consumer, if that's what you mean...

Jim

On 10/03/13 11:18, Marko Topolnik wrote:
Isn't it true that you must /import/ those protocols, and not :use them? In that case your dilemma would be moot.

On Thursday, February 14, 2013 2:26:50 PM UTC+1, Jim foo.bar wrote:

    I know that using a bare :use in the ns macro is generally frowned
    upon as it provides no hints about what is actually being used...

    However, I 've got 2 namespaces 'abstractions.clj' and
    'concretions.clj'...concretions.clj will eventually use all the
    protocols defined in abstractions.clj...at the moment it doesn't
    but as I work through it I want to provide concrete records for
    *all* the protocols...

    Should I just go and :use the entire thing or should I stick with
    :require and keep typing 'pro/XXX' a million times? That specific
    namespace is very central to my work...

    Jim

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


Reply via email to