Bill Page wrote:
>
> Waldek,
>
> Thanks for working on this! Could you please try the following example:
>
> integrate(sin(x)^2+cos(x+1)^2,x)
> unparse(%::InputForm)
>
> At the wiki web page:
>
> http://axiom-wiki.newsynthesis.org/SandBoxUnparse
>
> it shows this error:
>
> Break.
> Broken at FUNCALL. Type :H for Help.
> BOOT>>
> >> System error:
> The variable QUIT is unbound.
>
I see, we need correction: replace the line 'isBinaryInfix op => BREAK()'
in appOrParen by
(op = "-" or op = '"-") and #argl = 1 =>
concat('"(", '"-", appOrParen(first argl), '")")
BREAK was a misguided attempt to catch infinite recursion due to
unhandled cases, and the code did not handle unary minus.
--
Waldek Hebisch
[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---