"Bill Page" <[EMAIL PROTECTED]> writes:

> 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)

Great! Well, shouldn't that be

     #x == 
        if null?(l := LIST_-LENGTH(x)$Lisp) 
        then error "cyclic list"
        else integer l

?  Maybe it would make sense to compare speed with the definition taken from
URAGG.  Well, no, I think it's best to fix this and move ahead.  I add an issue
on MathAction, so we can fix it.

Martin



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to