Skip to content

Instantly share code, notes, and snippets.

@emidln
Created August 26, 2013 22:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emidln/b018da2c94f5d4b9d9d7 to your computer and use it in GitHub Desktop.
Save emidln/b018da2c94f5d4b9d9d7 to your computer and use it in GitHub Desktop.
(defn set-a [m] (assoc m :a true))
(defn set-b [m] (assoc m :b true))
(defn set-c [m] (assoc m :c true))
(clojure.walk/macroexpand-all
(super-thread {} (list set-a set-b set-c)))
;=> (set-a (set-b (set-c {})))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment