JuliaPluto/Pluto.jl

Update dependent cells for functions modifying their arguments

Open

#316 opened on Aug 24, 2020

View on GitHub
 (11 comments) (0 reactions) (0 assignees)Julia (329 forks)batch import
documentationenhancementgood first issuehelp welcomereactivity

Repository metrics

Stars
 (5,295 stars)
PR merge metrics
 (Avg merge 5d 12h) (13 merged PRs in 30d)

Description

Currently, dependencies introduced by functions modifying their arguments in-place are not considered for notebook updates.

Example (each row in a separate Pluto cell):

a = [4, 3, 2, 1]
a # prints [4, 3, 2, 1]
sort!(a) # prints [1, 2, 3, 4], but does not update previous cell

Contributor guide