CalculusWithJuliaNotes.jl/quarto/misc/using-pluto.qmd
2022-07-25 20:51:08 -04:00

12 lines
760 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Using Pluto
{{< include ../_common_code.qmd >}}
:::{.callout-note}
## Note
We see in this notebook the use of `let` blocks, which is not typical with `Pluto`. As `Pluto` is reactive meaning changes in a variable propagate automatically to variables which reference the changed one a variable can only be used *once* per notebook at the top level. The `let` block, like a function body, introduces a separate scope for the binding so `Pluto` doesn't incorporate the binding in its reactive model. This is necessary as we have more than one function named `f`. This is unlike `begin` blocks, which are quite typical in `Pluto`. The `begin` blocks allow one or more commands to occur in a cell, as the design of `Pluto` is one object per cell.
:::