LauJensen / clojureql

ClojureQL is superior SQL integration for Clojure
https://clojureql.sabrecms.com
Eclipse Public License 1.0
284 stars 39 forks source link

Simplify some stuff #65

Closed amalloy closed 11 years ago

amalloy commented 13 years ago

I was looking over this and I saw you duplicating some logic in where and case. Not very much, but if you end up wanting more, similar features you'll probably want to have it factored out.

bendlas commented 13 years ago

where* is not a fitting name for syntactic replacement, sorry!

ninjudd commented 13 years ago

The underlying change seems good to me. Perhaps there is a better name for the function than where*. In any case, you should remove the unnecessary `~ in front of postwalk-replace.