> This is regular '%display' property, set in BasicOperator.
Ah. Cool.
And just for reference...
The property is defined in op.spad like this.
dfact x == postfix("!"::Symbol::O, (ATOM(x)$Lisp => x; paren x))
The following code will then print "factorial(n)" as factorial(n).
newdfact(x:OF):OF == prefix("factorial"::Symbol,[x])
fa := factorial(n)
k := kernels(fa).1
op := operator k -- this is the factorial BasicOperator
display(op, newdfact)
> 'display' will set '%display' property to value that you give. But
> this value will affect translation to OutputForm, so all formatters.
Yes. But if one wants to achieve something locally, other parts maybe
uninteresting.
Thank you for your help.
Ralf