See

https://github.com/JuliaLang/julia/issues/7959

On Friday, August 29, 2014 10:57:59 AM UTC-4, Spencer Lyon wrote:
>
> For displaying a string representation of custom types I have always 
> defined show(io::IO, x::MyType) 
>
> What is the difference between this and defining writemime(io::IO, 
>  mime::MIME"text/plain", x::MyType) ? 
>
> Which is preferred and why? 
>
>

Reply via email to