OK, I see. Thank you!
On Wednesday, September 21, 2016 at 6:17:30 PM UTC-5, Steven G. Johnson wrote: > > > > On Wednesday, September 21, 2016 at 4:24:10 PM UTC-4, Weicheng Zhu wrote: >> >> Hi Dr. Johnson, >> Thank you very much for your help! Not I understand how it works. >> This problem has confused me a long time since I started learning julia. >> >> So if I want a `mytype` object to be printed in the pretty-printed lines >> by default, I have to define the display method, right? >> > > No. Only override show, not display. And in Julia 0.4 the 3-argument > show is called writemime, not show. >
