one thing I don't get about REPL: Since it evaluat...
# getting-started
f
one thing I don't get about REPL: Since it evaluates expressions, shouldn't "print("Hi")" display "Unit" instead of "Hi"?
d
python does the same I think. (Not an answer, I know)
f
I mean it makes sense but technically thats not the value of that expression, right?
maybe I am mistaken
d
Yeah it isn't.
I think if stdout was untouched, then the expression is printed.
I don't think the expression is that useful outside of basic maths.