On Aug 5, 2013, at 12:41 PM, Greg wrote:

>> Can you build in a way to get :require :refer :all to work on a bunch of 
>> sub-namespaces together on one line, as one currently can with :use, without 
>> listing each namespace completely on a separate line with a separate :refer 
>> :all?
> 
> Certainly. I'm not saying this is how the exact syntax would go, but the 
> general idea is to rely on the keywords to specify what (and how) you want to 
> import stuff:
> 
> Instead of:
> 
> (ns one.fresh-server
>   (:use (core matrix math bs))
> 
> You could do something like:
> 
> (ns one.fresh-server
>   [core :refer-all [matrix math bs]])

I like it.

I can't personally assess the costs and benefits of the overall proposal, but 
this would address my concern nicely.

 -Lee

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