Arc Forumnew | comments | leaders | submitlogin
5 points by eds 6063 days ago | link | parent

It's because 'quote doesn't necessarily create a new list every time (at least not in function definitions). If you do

  (def foo ()
    '(a b c))
(foo) will return the same list every time, so if you modify the list in or before your next call, you'll get the modified instead of the original value.


2 points by map 6063 days ago | link

That helps. Thanks.

-----