home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / lisp / 2083 < prev    next >
Encoding:
Text File  |  1992-07-22  |  766 b   |  20 lines

  1. Newsgroups: comp.lang.lisp,uiuc.lisp
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uxa.cso.uiuc.edu!jmrg9881
  3. From: jmrg9881@uxa.cso.uiuc.edu (Jon Reid)
  4. Subject: Want to prepend colon to symbol
  5. Message-ID: <BruGyy.HDF@news.cso.uiuc.edu>
  6. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  7. Organization: University of Illinois at Urbana
  8. Date: Thu, 23 Jul 1992 13:47:22 GMT
  9. Lines: 9
  10.  
  11. Can anyone think of a way to prepend a colon to a symbol, i.e., convert foo
  12. to :foo ?  I want to use this in a macro.
  13.  
  14. (format nil ":~a" 'foo) yields ":foo", a string.  If I could convert this
  15. string back to a symbol, I'd be a happy camper.
  16.  
  17. Please respond by e-mail as I do not subscribe to this group.
  18.  
  19. -- Jon Reid  (j-reid@uiuc.edu)
  20.