…I had another question… let me ask it here.
For types I do create I usually define a Base.show(io::IO, ::MIME"text/plain", mt::MyType) method… But for some outputs it shows the full internal struct… I want to refine it properly, have more control on the Base.show… Some hints?
…
read the Base.show help… looks like I should define the Base.show(io::IO,mt::MyType) + the 3-args Base.show(io::IO,::MIME"text/plain",::MyType)…
If you leave out the mime type, that is a default for all mime types, cf the 2-argument version
and the 3-arg one you implemented
2 Likes
kay, thanks!
1 Like