bug-kawa
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-kawa] [bug #15579] append-map may destroy arguments.


From: anonymous
Subject: [Bug-kawa] [bug #15579] append-map may destroy arguments.
Date: Thu, 9 Mar 2006 06:14:43 +0000
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/417.9 (KHTML, like Gecko) Safari/417.8

Follow-up Comment #2, bug #15579 (project kawa):

But the problem is not a set-car! on a constant.  The
problem is append-map assuming that the value
returned by the function will not be used again.  Consider:

(append-map (lambda (x) (hash-table-ref/default ht x '())) ls)

I don't want the values on my hash table to be modified
by append-map, and all those values are created with
cons, not quote.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=15579>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]