Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ng/jupyter: improve the "v := ..." user experience in jupyter #197

Open
sbinet opened this issue Jan 9, 2018 · 0 comments
Open

ng/jupyter: improve the "v := ..." user experience in jupyter #197

sbinet opened this issue Jan 9, 2018 · 0 comments

Comments

@sbinet
Copy link
Collaborator

sbinet commented Jan 9, 2018

in Jupyter, when one has a cell like this:

In [10]: v := foo()

if for some reason (debugging, improvement, what-ever) you need to re-run it, it will (rightfully) fail with:

ng: typecheck: no new variables on left side of :=

we should perhaps have special hooks in the jupyter front-end to analyze the cell being re-run, detect variable declarations and delete those to make typecheck happy.

the alternative would be to disable typecheck (for variable declarations) in Jupyter.
but I personally would rather not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant