Afzal Upal <email@example.com> 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.
(cons #\? list)
Rob Warnock, 7L-551 firstname.lastname@example.org
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