Commits

Meikel Brandmeyer committed 40a29e9

Use condp instead of instance-case

  • Participants
  • Parent commits 766daca

Comments (0)

Files changed (1)

File src/de/kotka/lazymap/LazyMap.clj

                     clojure.lang.IObj]
      :constructors {[clojure.lang.IPersistentMap] []})
   (:import
-     (clojure.lang SeqIterator IMapEntry IPersistentVector IObj))
-  (:use
-     [clojure.contrib.fcase :only (instance-case)]))
+     (clojure.lang SeqIterator IMapEntry IPersistentVector IObj)))
 
 (defn- -init
   [theMap]
 
 (defn- -cons
   [this o]
-  (instance-case o
+  (condp instance? o
     de.kotka.lazymap.LazyMapEntry
                       (let [k (. o getKey)
                             v (. o getRawValue)]