[CM] s7: warning if symbol is redefined and namespaces

Kjetil Matheussen k.s.matheussen at gmail.com
Wed Dec 7 04:10:57 PST 2016


Hi Bill,

I'm starting to get a bit worried about overriding global symbols
without noticing it.

Is there a way to get a message printed to the screen, or maybe create a
hook
for doing so, if a symbol is redefined?

Also, what about namespaces and workarounds? For instances,
Is there a way to load a file without polluting the global namespace,
for instance something like this:

"
(let ()
   (load "reverse-sound.scm")
   (reverse-sound sound))
"

...where the 'reverse-sound' symbol in reverse-sound.scm is not available
globally.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/mailman/private/cmdist/attachments/20161207/7467a74b/attachment.html>


More information about the Cmdist mailing list