I think import-vars is for convenience. It delegates to import-fn and 
import-macro. 

On Tuesday, November 7, 2017 at 12:09:10 PM UTC-8, Alan Thompson wrote:
>
> In the Tupelo library, I have been using `import-fn` and `import-macro` 
> from Potemkin so that I can define functions/macros in a single namespace 
> `tupelo.impl`, but then expose an API in "user-visible" namespaces like:
>
>    - tupelo.core
>    - tupelo.char
>    - tupelo.test
>    - etc
>
> Perhaps I've been doing it wrong and should switch to `import-vars`.....?
> Alan
>
>
> On Tue, Nov 7, 2017 at 10:13 AM, Nick Mudge <ni...@perfectabstractions.com 
> <javascript:>> wrote:
>
>> I am interested to know if people/you use import-vars to decouple the 
>> structure of code from its API.
>>
>> import-vars is from the potemkin library: 
>> https://github.com/ztellman/potemkin
>>
>> If you don't use import-vars how do you structure your code and provide 
>> an API?
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clo...@googlegroups.com 
>> <javascript:>
>> Note that posts from new members are moderated - please be patient with 
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+u...@googlegroups.com <javascript:>
>> 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+u...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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/d/optout.

Reply via email to