modular icon indicating copy to clipboard operation
modular copied to clipboard

[Feature Request] Implicit Printing and Last Outputs in JupyterEnv

Open alperenunlu opened this issue 2 years ago • 2 comments

Request

Need Implicit Printing and accessing the last outputs using "_" and "__" in Playground

Motivation

For testing the language features using implicit printing and accessing last outputs in notebook environment helps a lot.

Description and Requirements

let x: Int = 2
x

outputs: 2

x * x

outputs: 4

_, __

outputs: (4, 2)

alperenunlu avatar May 12 '23 23:05 alperenunlu

Maybe also _1, _2 and etc. Here are some examples: https://stackoverflow.com/questions/200020/get-last-result-in-interactive-python-shell

czheo avatar May 13 '23 07:05 czheo

Support for jupyter's tab completion and shift+tab for documentation would also be very appreciated!

sa- avatar May 13 '23 08:05 sa-