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
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
OK, I see.
It seems that if I define the two show method directly in the REPL, it
doesn't work. But it works when I wrap them into a module:)
On Wednesday, September 21, 2016 at 3:24:10 PM UTC-5, Weicheng Zhu wrote:
>
> Hi Dr. Johnson,
> Thank you very much for your help! Not I understand how
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?
I guess my
On Wednesday, September 21, 2016 at 2:54:15 PM UTC-4, Weicheng Zhu wrote:
>
> Hi all,
>
> I have a few simple questions to ask.
>
> 1) What function is invoked when I type x in the following example?
>
display(x), which calls show(STDOUT, MIME("text/plain"), x) [or writemime
in Julia ≤ 0.4]