This is a read-only archive of lispforum.com. The forum was locked to new users and posts and is preserved here as static HTML from a database snapshot taken on 2019-09-07.

intern and quoted symbols

4 posts · 4703 views

Hi Community,

I try to understand packages and symbols. Is it true, that whenever I write down a symbol name, for example 'mysymbol, this symbol is going to be interned in the current package? And only if I use make-symbol I create an uninterned symbol?

Kind Regards,

Martin Kalbfuß

Re: intern and quoted symbols

That's pretty much that. However there is another possibility how to make uninterned symbol:
#:uninterned-symbol
cl-2dsyntax is my attempt to create a Python-like reader. My mirror of CLHS (and the dark themed version). Temporary mirrors of aferomentioned: CLHS and a dark version.

Re: intern and quoted symbols

Thanks for the clarification.

Re: intern and quoted symbols

Don't forget GENSYM which is probably the method you want to use (if you want to debug complex macros without tearing your hair out)