summaryrefslogtreecommitdiff
path: root/src/clojure_sql/writer.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/clojure_sql/writer.clj')
-rw-r--r--src/clojure_sql/writer.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clojure_sql/writer.clj b/src/clojure_sql/writer.clj
index 5f4250b..176cc67 100644
--- a/src/clojure_sql/writer.clj
+++ b/src/clojure_sql/writer.clj
@@ -53,7 +53,7 @@
(if (= (first args) :let)
`(let ~(second args)
~(apply do-m* (nnext args))))
- (if (= (name (second args)) "<-")
+ (if (every? #(% (second args)) [symbol? #(= (name %) "<-")])
(let [[var <- val & others] args]
`(bind ~val
(fn [~var]