On Mon, Sep 1, 2008 at 2:30 PM, Martin Rubey wrote: > ... > Yes, it's not caught under FriCAS/sbcl, too, where we also get an > infinite loop. The responsible part is in ILIST, where we have > > #x == LENGTH(x)$Lisp >... > I have no idea how clisp checks whether a list is cyclic. > ...
Probably we should be calling #x == integer(LIST_-LENGTH(x)$Lisp) According to the common lisp standard list-length returns nil if the list is circular. http://www.lispworks.com/documentation/HyperSpec/Body/f_list_l.htm Regards, Bill Page. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ open-axiom-devel mailing list open-axiom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open-axiom-devel