2 ms·
Maybe we can get it a little more Clojure-ish: (dosql [a :table1/a b :table1/b] (filter (and (< a 5) (= b "x")))) Makes the filter part more readabl
by jimbokun 16y ago
Maybe we can get it a little more Clojure-ish:
(dosql [a :table1/a b :table1/b]
(filter (and (< a 5) (= b "x"))))
Makes the filter part more readable (to a Lisper), and introduces variable scope in a more idiomatic manner. The macro needs to take care of the :table1/a expansion and substitution within its scope. dosql might already be taken but not important for my point, I think.
Maybe you still don't like this, but I think it reads a little better for someone used to Clojure.