From 62078f31f425a0bf4be6508a51ac1fa8ce09ea51 Mon Sep 17 00:00:00 2001 From: Aaron Bedra and Stuart Halloway Date: Fri, 23 Jul 2010 13:22:37 -0400 Subject: [PATCH] update strint to use clojure.core/slurp --- src/main/clojure/clojure/contrib/strint.clj | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/clojure/clojure/contrib/strint.clj b/src/main/clojure/clojure/contrib/strint.clj index 2333c5b1..53ddd639 100644 --- a/src/main/clojure/clojure/contrib/strint.clj +++ b/src/main/clojure/clojure/contrib/strint.clj @@ -15,8 +15,7 @@ (ns ^{:author "Chas Emerick", :doc "String interpolation for Clojure."} - clojure.contrib.strint - (:use [clojure.contrib.io :only (slurp*)])) + clojure.contrib.strint) (defn- silent-read "Attempts to clojure.core/read a single form from the provided String, returning @@ -26,7 +25,7 @@ [s] (try (let [r (-> s java.io.StringReader. java.io.PushbackReader.)] - [(read r) (slurp* r)]) + [(read r) (slurp r)]) (catch Exception e))) ; this indicates an invalid form -- the head of s is just string data (defn- interpolate