In article <
8737zxp...@rubybox.drb27.me>,
You're modifying the conses that are part of the function definition, so
that modifies the function itself.
This is why you're not supposed to use destructive functions on
literals. Change your function to:
(let ((lcl (list (cons :lst (list 1 2 3)))))
...)
and you'll get a fresh list every time you call it.
--
Barry Margolin,
bar...@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***