Mutation is not understood by Pluto.jl #1329
Unanswered
samuela
asked this question in
Pluto development
Replies: 1 comment
-
More discussion in #564 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Pluto.jl does not seem to always show the correct output when mutation is involved between the cells. For example, https://user-images.githubusercontent.com/226872/126718376-37fe08fc-ddc8-4e5e-a985-6f4502a66d30.mov
AFAICT there are two bugs captured in the screencast:
x
) is evaluated, but the correct value is not returned. It still shows as ifx == [3]
.push!(x, 3)
cell multiple times adding a bunch of 3s tox
. But the third cell is not re-evaluated. It does not display the correct value until being manually re-evaluated.Personally, I find the greatest thing about Pluto over Jupyter/etc to be that Pluto "solves" the is-this-cell-stale question. Unfortunately however this example shows me that I cannot always trust Pluto on that promise.
Is addressing mutation something that Pluto.jl plans to cover in the future? I imagine that mutation makes the cell ordering problem more difficult. But even a warning as simple as
would be super helpful.
Beta Was this translation helpful? Give feedback.
All reactions