kronusaturn/lw2-viewer

UIOP:DEFINE-PACKAGE :UNINTERN

phoe opened this issue · 2 comments

phoe commented

(:unintern #:declare-backend-function)

I've seen you use the :unintern option of uiop:define-package several times across lw2-viewer - what are its effects on the code? Why are they there? I'm curious because I'm figuring out the practical use cases of :unintern and your code is what came up on GitHub's search.

I use it to remove symbols that were used in previous versions of the code, so they don't stay around when a new version is loaded in the running server process. Mainly to prevent confusion when using apropos, and for aesthetic tidiness.

phoe commented

OK - thanks for the response!