6 ms·
There's no (use :as), only require. (require [shake.core :as sh]) That's a step in the right direction, but it still triggers tons of warnings replacing vars i
by jcromartie 14y ago
There's no (use :as), only require. (require [shake.core :as sh])
That's a step in the right direction, but it still triggers tons of warnings replacing vars in clojure.core.
- cemerick 14y agouse 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?