home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / lisp / 2087 < prev    next >
Encoding:
Text File  |  1992-07-23  |  1.1 KB  |  31 lines

  1. Newsgroups: comp.lang.lisp,uiuc.lisp
  2. Path: sparky!uunet!utcsri!torn!cunews!dfs
  3. From: dfs@doe.carleton.ca (David F. Skoll)
  4. Subject: Re: Want to prepend colon to symbol
  5. Message-ID: <dfs.711906870@ro>
  6. Sender: news@cunews.carleton.ca (News Administrator)
  7. Organization: Dept. of Electronics, Carleton University
  8. References: <BruGyy.HDF@news.cso.uiuc.edu> <BruJ08.I0s@news.cso.uiuc.edu> <BruL50.IyD@news.cso.uiuc.edu>
  9. Date: Thu, 23 Jul 1992 15:54:30 GMT
  10. Lines: 19
  11.  
  12. In <BruL50.IyD@news.cso.uiuc.edu> jmrg9881@uxa.cso.uiuc.edu (Jon Reid) writes:
  13.  
  14. >There is a more elegant solution to my problem than using read-from-string.
  15. >It is: (intern foo 'keyword).
  16.  
  17. There's confusion here between the print name of a symbol, and the
  18. package in which the symbol is found.
  19.  
  20. The symbol :FOO has the print name "FOO" and is found in the keyword package.
  21.  
  22. The symbol |:FOO| has the print name ":FOO" and we can't tell what
  23. package it's in without further information.  (Probably the
  24. COMMON-LISP-USER package)
  25.  
  26. The symbol :|:FOO| has the print name ":FOO" and is found in the
  27. keyword package. :-)
  28.  
  29. --
  30. David F. Skoll
  31.