In addition to the answer from Alex, you can also only refer to the desired vyres from a particular namespace.
(ns foo.core (:use [clojure.string :only (replace-first)]))
This will not raise a warning since replace-first not in clojure.core . However, you will still receive a warning if you have done the following:
(ns foo.core (:use [clojure.string :only (replace)]))
In general, it seems that people tend to (ns foo.bar (:require [foo.bar :as baz])) .
Devin walters
source share