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. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/fricas-devel?hl=en -~----------~----~----~----~------~----~------~--~---
