You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cannot quite fully understand the encapsulation of each cell in Pluto. Due to this complication, very simple macro does not work properly.
Above is a very simple macro modifying the input expression (in this scenario, a variable)
In the second cell, the variable c could be modified without any problem.
However, in a newer cell, this macro does not work like this.
May be, a variable defined in a certain cell cannot be modified by a macro even though the variable has been escaped with esc() in the macro definition.
By the way, this macro works without any problem in Jupyter Notebook.
Thanks.
The text was updated successfully, but these errors were encountered:
I cannot quite fully understand the encapsulation of each cell in Pluto. Due to this complication, very simple macro does not work properly.
Above is a very simple macro modifying the input expression (in this scenario, a variable)
In the second cell, the variable
c
could be modified without any problem.However, in a newer cell, this macro does not work like this.
May be, a variable defined in a certain cell cannot be modified by a macro even though the variable has been escaped with
esc()
in the macro definition.By the way, this macro works without any problem in Jupyter Notebook.
Thanks.
The text was updated successfully, but these errors were encountered: