Bit of a strange question here but would anyone know which show method controls how
:(2*x) for example gets displayed as
:(2x) in the repl. eg:
julia> :(2 * x) :(2x)
There is a handful of
show methods in show.jl that look suspect but I can’t seem to figure out who is responsible for this. I want to overload this to display as
:(2 * x) instead to interface with Maxima in a package I’m developing.
Any help would be greatly appreciated!