From: SourceForge.net <no...@so...> - 2006-04-18 14:51:37
|
Bugs item #1420855, was opened at 2006-01-31 20:30 Message generated for change (Settings changed) made by haible You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=1420855&group_id=1355 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: clisp Group: ANSI compliance issue >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Nathan Froyd (nfroyd) Assigned to: Bruno Haible (haible) Summary: DESTRUCTURING-BIND does not work properly on infinite lists Initial Comment: Transcript of a session with CLISP 2.38: [1]> (defvar *vars* '#1=(a b c d e . #1#)) *VARS* [2]> (destructuring-bind (a b c d e &rest ignore) *vars* (list a b c d e)) Expected: (A B C D E) Got: "*** - <: NIL is not a real number" (as an error message, of course) ---------------------------------------------------------------------- >Comment By: Bruno Haible (haible) Date: 2006-04-18 16:51 Message: Logged In: YES user_id=5923 Fixed in CVS. Thanks for the report: it was not only a bug (for circular lists), it was also a performance problem (for long proper lists). ---------------------------------------------------------------------- Comment By: Jörg Höhle (hoehle) Date: 2006-02-01 17:44 Message: Logged In: YES user_id=377168 Confirmed. This surprises me even more so since I recently looked at the code to see whether it would work with non-proper lists (it must work, and does work with dotted lists) and did not see that other fault. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=1420855&group_id=1355 |