20:28:24PartmediaHi there, in CL, what is the difference between (getf x 'foo) and (getf x :foo)? I know that the reader macro turns 'foo into (QUOTE FOO), which maybe gets interned? But what exactly gets interned in :foo?
20:31:30edgar-rftPartmedia: with :FOO the symbol FOO gets interned in the KEYWORD package instead of the current package
20:37:27pjbPartmedia: note that the interning is performed while READING the symbol, not while evaluating the form that contains it. So it's unrelated to GETF or anything else (even ' which is a reader macro for (CL:QUOTE …)).
20:38:37PartmediaI knew that about ' and (QUOTE), I just wasn't sure what : was
20:39:03pjbPartmedia: note also that the current *package* can be the "KEYWORD" package. For example, when reading the feature expression after #+ or #-, or if you bind it yourself.