oldk1331 wrote:
>
> > So, the problem is in unparseInputForm.
>
> Ah, thank you for pointing that out.
>
> So, in src/interp/format.boot,
>
> unparseInputForm calls ...
> form2String1 calls
> binop2String calls ...
> powerOrParen calls ...
> appOrParen
>
> The patch is following:
>
> index
oldk1331 wrote:
>
> > I'm not sure if this patch creates unnecessary parenthesis elsewhere.
>
> One change I noticed is "unparse(( t-1 )::INFORM)", it used to be
> "t+-1", after patch it's "t+(-1)", is it a bug that it doesn't return "t-1"?
That is a tricky question. InputForm (and OutputForm)
> I'm not sure if this patch creates unnecessary parenthesis elsewhere.
One change I noticed is "unparse(( t-1 )::INFORM)", it used to be
"t+-1", after patch it's "t+(-1)", is it a bug that it doesn't return "t-1"?
--
You received this message because you are subscribed to the Google Groups
> So, the problem is in unparseInputForm.
Ah, thank you for pointing that out.
So, in src/interp/format.boot,
unparseInputForm calls ...
form2String1 calls
binop2String calls ...
powerOrParen calls ...
appOrParen
The patch is following:
index b582869..7e16e1c 100644
---