Question: Inert parenthesis

so I can get inert operations but what about parenthesis and built ins?

 

add(k,k=1..5)

 

I can't remember the specific code but what I was getting was something like

 

1 + 3 + 4 + 5 + 6 /4

rather than (1 + 3 + 4 + 5 + 6)/4

and the parenthesis was not showing up and I couldn't use things like add or mul in an inert like form(I think I had to write a loop).

 

What I had to do was multiply by 1 inertly and then it added the parenthesis.

 

If I could add inert parenthesis it would have solved the problem and also get built in functions to be inert but only on their ineternal operations.

 

 

 

 

Please Wait...