-
-
Save darwin/e64eeae5f4b698f559fc722b6860f612 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 defprop [name kw default] | |
`(defn ~name [] ~(or (env kw) default)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment