Afzal Upal <upal@cs.ualberta.ca> wrote:
+---------------
| I'm working in a package in kcl and I need to add character ? to a list
| so I use cons to do it i.e., I have something like this
| (cons '? list)
| but what I actually end up having in the list is <package>?
| i.e., with package-name concatenated to the character ?
+---------------
As others have pointed out, what you're cons'ing into the list is
a symbol (which comes with a package name), not a character at all.
Try this:
(cons #\? list)
-Rob
-----
Rob Warnock, 7L-551 rpw3@sgi.com
Silicon Graphics, Inc. http://reality.sgi.com/rpw3/
2011 N. Shoreline Blvd. Phone: 415-933-1673 FAX: 415-933-0979
Mountain View, CA 94043 PP-ASEL-IA