Skip to content
Browse files

Fix invalid use of spartition instead of partition and add missing im…


Regression bug was introduced by commit fe4ed31
  • Loading branch information...
1 parent 9212f64 commit 31c33107f59c71ec00ae1429b38f2005dce374d3 @juergenhoetzel committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 modules/repl-utils/src/main/clojure/clojure/contrib/repl_utils.clj
3 modules/repl-utils/src/main/clojure/clojure/contrib/repl_utils.clj
@@ -17,6 +17,7 @@
(:import ( File LineNumberReader InputStreamReader PushbackReader)
(java.lang.reflect Modifier Method Constructor)
+ (java.util.regex Pattern)
(clojure.lang RT Compiler Compiler$C))
(:use [clojure.contrib.seq :only (indexed)]
[ :only (browse-url)]
@@ -48,7 +49,7 @@
(defn- sortable [t]
(apply str (map (fn [[a b]] (str a (format "%04d" (Integer. b))))
- (spartition 2 (concat (spartition #"\d+" t) [0])))))
+ (partition 2 (concat (spartition #"\d+" t) [0])))))
(defn- param-str [m]
(str " (" (join

0 comments on commit 31c3310

Please sign in to comment.
Something went wrong with that request. Please try again.