CE <email@example.com> wrote:
| Barry Margolin wrote:
| >firstname.lastname@example.org (Rob Warnock) wrote:
| >> Why READ-FROM-STRING and not simply INTERN?
| > Because if you use INTERN you need to do the right thing regarding
| > mapping case, whereas READ-FROM-STRING will handle it automatically.
| You can get both! Use format: (intern (format nil "~S-~S" :foo :bar))
I suggested basically the same thing in another branch of the reply tree,
(intern (concatenate 'string (symbol-name x) (symbol-name :bar)))
p.s. Or for a very slight performance gain:
(intern (concatenate 'string (symbol-name x)
(load-time-value (symbol-name :bar))))
Rob Warnock <email@example.com>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607