From 69e39bf6f7cac10c05161530348c6237a32a5c46 Mon Sep 17 00:00:00 2001 From: Dan Holmsand Date: Sun, 4 Oct 2015 10:39:18 +0200 Subject: [PATCH] Use keyword as key in with-let --- src/reagent/ratom.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reagent/ratom.clj b/src/reagent/ratom.clj index 4a92b6a..cee521f 100644 --- a/src/reagent/ratom.clj +++ b/src/reagent/ratom.clj @@ -17,7 +17,7 @@ (defmacro with-let [bindings & body] (assert (vector? bindings)) (let [v (gensym "with-let") - k (str v) + k (keyword v) init (gensym "init") bs (into [init `(zero? (alength ~v))] (map-indexed (fn [i x]