Created
September 13, 2012 07:27
-
-
Save cark/3712581 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user> (defmacro bleh [body] | |
`(fn [{:keys [~'action]}] | |
~body)) | |
#'user/bleh | |
user> ((bleh action) {:action 12}) | |
12 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment