home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.lisp,uiuc.lisp
- Path: sparky!uunet!utcsri!torn!cunews!dfs
- From: dfs@doe.carleton.ca (David F. Skoll)
- Subject: Re: Want to prepend colon to symbol
- Message-ID: <dfs.711906870@ro>
- Sender: news@cunews.carleton.ca (News Administrator)
- Organization: Dept. of Electronics, Carleton University
- References: <BruGyy.HDF@news.cso.uiuc.edu> <BruJ08.I0s@news.cso.uiuc.edu> <BruL50.IyD@news.cso.uiuc.edu>
- Date: Thu, 23 Jul 1992 15:54:30 GMT
- Lines: 19
-
- In <BruL50.IyD@news.cso.uiuc.edu> jmrg9881@uxa.cso.uiuc.edu (Jon Reid) writes:
-
- >There is a more elegant solution to my problem than using read-from-string.
- >It is: (intern foo 'keyword).
-
- There's confusion here between the print name of a symbol, and the
- package in which the symbol is found.
-
- The symbol :FOO has the print name "FOO" and is found in the keyword package.
-
- The symbol |:FOO| has the print name ":FOO" and we can't tell what
- package it's in without further information. (Probably the
- COMMON-LISP-USER package)
-
- The symbol :|:FOO| has the print name ":FOO" and is found in the
- keyword package. :-)
-
- --
- David F. Skoll
-