9 ms·
use does accept an :as option: => (use '[clojure.set :as set]) => set/intersection #<set$intersection clojure.set$intersection@58ca40be> Prior to
by cemerick 14y ago
use does accept an :as option:
=> (use '[clojure.set :as set])
=> set/intersection
#<set$intersection clojure.set$intersection@58ca40be>
Prior to the addition of :refer to require, this was often paired with an :only (...) in order to alias a namespace as well as refer in some limited set of vars if desired, all in one declaration.
- jcromartie 14y agoHuh, I checked the docs before I commented. It is indistinguishable from require :as, thought, right?