Created
July 13, 2017 13:32
-
-
Save mpenet/f785faf54c2a8588eb896cfe86dc762c to your computer and use it in GitHub Desktop.
This file contains hidden or 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 ns-local | |
"Creates a locally aliased namespace matching supplied symbol" | |
[k] | |
`(alias ~k (create-ns (symbol (str *ns* "." (str ~k)))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment