Created
July 29, 2019 17:26
-
-
Save fouric/22181928ef74cc67cf8a72d506f985ba 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
;; also add mode to pull multiple symbols | |
(defmacro pull (symbols) | |
(if (listp symbols) | |
`(progn | |
,@(dolist (symbol symbols) | |
`(pull ,symbol))) | |
(if (symbolp symbols) | |
`(pull-helper ',symbols) | |
`(pull-helper ,symbols)))) | |
(defun pull-helper (symbol) | |
(import symbol *package*)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment