[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange (?) response of LIST to SYMBOLs



CC: (BUG LISPM) at MIT-MC
    DTS@MIT-AI 03/11/79 08:41:27 Re: Strange (?) response of LIST to SYMBOLs
    To: (BUG LISPM) at MIT-AI
       I'm not sure if this is a bug or some unexplained (in the manual,
    anyway) feature. At any rate I'd appreciate it if you could explain
    this phenomenom to me. 
    
    (list "foo")==>("FOO")
    (list 'foo)====>(FOO)
    but
    (list (intern "foo"))===>(|FOO|)
    even though
    (typep (intern "foo"))==>SYMBOL
    
       Does this special handling of the SYMBOL returned by INTERN mean
    something special??
There is no bug.  Note that interning "foo" gives you |foo|, not |FOO|.
The vertical bars are there to quote the lower case letters.