Fork me on GitHub
#beginners
<
2015-08-14
>
ajmagnifico03:08:51

anyone: Let's say I have three namespaces A, B, and C. Let's say that I want all of A's publicly def'ed items to be brought into B. Let's also say that I want all of A's publicly def'ed items to be brought into C, but I want to do so by having C bring in B.

ajmagnifico03:08:15

What combination of :require :refer, etc. do I need to use in my (ns) for B and C?

ajmagnifico03:08:04

I've been reading up on namespaces all evening, but I'm still confused.

ajmagnifico03:08:12

The context? A is a namespace with "core" functionality. However, there could also be namespaces X, Y, and Z with "core" functionality, and I want to make all of this available in B.

ajmagnifico03:08:45

In C, I want to just be able to say "(require B)" and bring in all of the functionality of A, X, Y, and Z.

ajmagnifico03:08:03

In C, I also want to be able to refer to this functionality simply by name. (e.g., "(do-thing)" instead of "(long.name.space.stuff/do-thing)"

ajmagnifico04:08:11

Nice find, @potetm ! That describes my problem pretty nicely. I'll have to try it out