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: Per Bothner
Subject: [Bug-kawa] [bug #15579] append-map may destroy arguments.
Date: Thu, 9 Mar 2006 23:22:48 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.0.1) Gecko/20060130 SeaMonkey/1.0

Update of bug #15579 (project kawa):

                  Status:                    None => Confirmed              
             Assigned to:                    None => bothner                

    _______________________________________________________

Follow-up Comment #3:

Try replacing append-map and append-map! in srfi1.scm with these:

(define (append-map f lis1 . lists)
  (if (pair? lists)
      (apply append (apply map f lis1 lists))
      (apply append (map f lis1))))

(define (append-map! f lis1 . lists)
  (if (pair? lists)
      (apply append! (apply map f lis1 lists))
      (apply append! (map f lis1))))

    _______________________________________________________

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]