Skip to content

Instantly share code, notes, and snippets.

@snmsts
Created May 24, 2012 11:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save snmsts/2780898 to your computer and use it in GitHub Desktop.
Save snmsts/2780898 to your computer and use it in GitHub Desktop.
exporting symbols
(defun export-symbols-from-package (package)
"export all symbols from a package."
(loop :for s :being :the :present-symbols :in package
:when (or (ignore-errors (fdefinition s))
(ignore-errors (find-class s nil))
(boundp s))
:do (export s)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment