Skip to content

Instantly share code, notes, and snippets.

@wilig
Created August 18, 2010 17:44
Show Gist options
  • Save wilig/535554 to your computer and use it in GitHub Desktop.
Save wilig/535554 to your computer and use it in GitHub Desktop.
(defn- nested
[query]
(let [q (reduce #(merge-with concat %1 %2) (stmt "(") query)]
(merge-with concat q (stmt ")"))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment