Skip to content

Instantly share code, notes, and snippets.

@ejackson
Created October 17, 2011 19:29
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 ejackson/1293529 to your computer and use it in GitHub Desktop.
Save ejackson/1293529 to your computer and use it in GitHub Desktop.
(ns relation.test.relation
(:require [relation.relation :as rel]
[relation.database :as db]
[clojureql.core :as cql])
(:use [clojure.test]))
(defmacro my-macro
[x]
`~(reverse x))
(macroexpand-1 `(my-macro [1 2 3 rel/test-fn]))
;; yields: (relation.relation/test-fn 3 2 1)
(macroexpand-1 '(my-macro [1 2 3 rel/test-fn]))
;; yields: (rel/test-fn 3 2 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment