On Fri, May 20, 2011 at 7:32 PM, Alan Malloy <a...@malloys.org> wrote: > Refer is not use. If you expand the use of set, it boils down to > (require '[clojure.set :as s]) (refer '[clojure.set :exclude > '[difference]]).
1. Refer should still say :as is unsupported if it's unsupported. 2. Refer-clojure is more like use than refer, because clojure.core is in effect required, simply because it's ALWAYS required. 3. Being able to :as c the core would be useful under exactly these kinds of circumstances, where you want to shadow a core function but have the original available with a conveniently short syntax. > Likewise, if you only refer to clojure.set instead of use'ing it, > the :as clause doesn't apply. In which case it should throw an exception. -- Protege: What is this seething mass of parentheses?! Master: Your father's Lisp REPL. This is the language of a true hacker. Not as clumsy or random as C++; a language for a more civilized age. -- 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