Created
December 10, 2009 16:00
-
-
Save mneedham/253414 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
(defmacro create-feedback [person sc ie] | |
(list 'do '(println "Feedback for" person) | |
'(println "Strengthen Confidence (+ve)"))) | |
user=> (macroexpand-1 '(create-feedback "mark" "something good" "something bad")) | |
(do (println "Feedback for" person) (println "Strengthen Confidence (+ve)")) | |
user=> (create-feedback "mark" "something good" "something bad") | |
java.lang.Exception: Unable to resolve symbol: person in this context (NO_SOURCE_FILE:470) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment