You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The output inside a jupyter notebook resembles the output of the repl imo too closely. Specifially it repeats all inputs (probably because each line break is sent to the repl independently).
In [6]:
String a = "b";
String b = "c";
String d = "e";
yields:
String a = "b";
| Modified variable a of type String with initial value "b"
String b = "c";
| Modified variable b of type String with initial value "c"
String d = "e";
| Added variable d of type String with initial value "e"
Suggestion: Maybe removing all line breaks might help, as the output in the repl looks better when doing so:
-> String a = "b"; String b = "c"; String c = "d";
| Modified variable a of type String with initial value "b"
| Modified variable b of type String with initial value "c"
| Added variable c of type String with initial value "d"
So you can make this slightly better by sending the command /v concise
But yeah, I don't love the repeated input either. I played around with trying to remove the lines but it struck me as fragile and error prone so I left it alone.
I suspect to get nicer behavior I would need to go ahead and write a proper kernel without relying on the repl wrapper.
Activity
Bachmann1234 commentedon Oct 6, 2015
So you can make this slightly better by sending the command
/v conciseBut yeah, I don't love the repeated input either. I played around with trying to remove the lines but it struck me as fragile and error prone so I left it alone.
I suspect to get nicer behavior I would need to go ahead and write a proper kernel without relying on the repl wrapper.