aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Sierra <mail@stuartsierra.com>2009-08-21 14:34:45 -0400
committerStuart Sierra <mail@stuartsierra.com>2009-08-21 14:34:45 -0400
commita0cadf5768c4cb1ce0cbeb23a264246bd82fe151 (patch)
treea240c9c598eee1d2a62b1a8e3dab313ad6224ed8
parent5dbecc380cbb65afff33648325f1e3b44b535143 (diff)
java_utils.clj Correct previous commit with duplicate definition of as-str
-rw-r--r--src/clojure/contrib/java_utils.clj8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/clojure/contrib/java_utils.clj b/src/clojure/contrib/java_utils.clj
index 5f34df16..ce2b7777 100644
--- a/src/clojure/contrib/java_utils.clj
+++ b/src/clojure/contrib/java_utils.clj
@@ -90,14 +90,6 @@
(reduce file (file parent child) more)))
(defn as-str
- "Returns the name or string representation of args, concatenated to
- a single string. Like clojure.core/str, but uses the names of
- keywords and symbols instead of their literal representation."
- [& args]
- (apply str (map (fn [x] (if (instance? clojure.lang.Named x)
- (name x) x))
- args)))
-(defn as-str
"Like clojure.core/str, but if an argument is a keyword or symbol,
its name will be used instead of its literal representation.