Source

lazymap / src / main / clojure / de / kotka / lazymap.clj

Diff from to

File src/main/clojure/de/kotka/lazymap.clj

   instead of expanding into a delay of val."
   [m & kvs]
   (assert (even? (count kvs)))
-  (reduce (fn [m [k v]] (.lazyAssoc m k v)) m (partition 2 kvs)))
+  (reduce (fn [m [k v]] (delay-assoc m k v)) m (partition 2 kvs)))
 
 (defmacro lazy-assoc
   "lazy-assoc associates new values to the given keys in the given lazy map.