Martin Rubey wrote:
>
> Waldek Hebisch <[EMAIL PROTECTED]> writes:
>
> > BTW: Yesterday I checked (with earlier version) that most of differences in
> > output is due to parentheses around single argument to function calls.
> > While
> > this may be treated as regression, I think that such parentheses save us a
> > lot of trouble so I prefer to always have them. Other changes seem to be
> > smaller and looked OK.
>
> Although I think from the theoretical point of view, keeping the parenthesis
> makes sense, I must admit that I dislike them a lot in output. Maybe it would
> be possible to omit them there.
>
There are two issues:
1) Unparsed output may be used by other programs, in such case user
probably wants parenthesis. So I think that we want _possibility_
to print parenthesis (this may be turned on or off by a flag).
2) Effort is needed to determine when we can omit parenthesis without
changing parse -- you noticed "sin(x+1)", but we also have
"sin(x)$Float" which is quite different than "sin x$Float".
> Concerning the testsuite: this is again a case for using the unittest package.
Well, the change is to _printed_ output -- currently unittest package can
not handle this...
--
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
-~----------~----~----~----~------~----~------~--~---