I can confirm that the point of adding :refer support to :require was to 
deprecate :use; I suggested this to Rich at the 2011 Conj when he mentioned 
the ns macro is too complicated, and he agreed it would be a good idea to 
enhance :require so that it would make :use unnecessary in order to reduce 
conceptual overhead. I submitted a patch, and it was applied for 1.4.0.

As far as I recall, this discussion was only around :use clauses in the ns 
macro. I think the clojure.core/use function is still very useful in the 
repl for things like tracing and pprint and don't foresee it going anywhere.

My assumption from our discussion would be that a warning would be added in 
a near release when :use was detected in the ns macro, and that it would be 
removed for Clojure 2.0 when backwards-incompatible changes are OK. But 
that's just my own guess; I don't know if Rich has any plans to do this.

-Phil

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