I'd like to play around with this a bit more and make sure this is the behavior I'd like, but this seems like a clean way to handle either printing the expression or the result.
Demo:
Note that this is a backwards incompatible change, but I haven't actually found the printing multiple expression via repeated ctrl-p behavior all the useful in practice and I think long term this is better.
This is one way to address #5.
I'd like to play around with this a bit more and make sure this is the behavior I'd like, but this seems like a clean way to handle either printing the expression or the result.
Demo:
Note that this is a backwards incompatible change, but I haven't actually found the printing multiple expression via repeated ctrl-p behavior all the useful in practice and I think long term this is better.