Commits

w01fe  committed 92bc116

Add error checking in quote-values

Signed-off-by: mb@kotka.de

  • Participants
  • Parent commits a709f9f

Comments (0)

Files changed (1)

File src/main/clojure/lazymap/core.clj

 
 (defn- quote-values
   [kvs]
+  (assert (even? (count kvs)))
   (mapcat (fn [[k v]] [k `(delay ~v)]) (partition 2 kvs)))
 
 (defn lazy-assoc*