[comp.lang.lisp] INTERN and strings

jwz@spice.cs.cmu.edu (Jamie Zawinski) (02/14/89)

Gee, I didn't think that he might be porting code...  Oops.
Anyway, I would have just mailed that message to him, but I thought it
might be of use to new lispers coming from toy PC lisps or something.

But there is a problem with your code: you are destructively modifying
a string passed to INTERN/MAKE-SYMBOL.  CLtL, page 169, says that's a bad
idea; MAKE-SYMBOL does not necessarily copy the string, and might move it
to read-only space.

	- Jamie   jwz@spice.cs.cmu.edu  sun!sunpitt!eti!jwz
--