diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-11-13 12:29:42 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-11-13 12:30:33 -0500 |
| commit | e42111e4dfc2fac9f99b053fd3cd65cd6e11259f (patch) | |
| tree | 3d7dd3fee6bef81af9421ebce5a7779b29c68a41 /docs/doc | |
| parent | 244863139cb6a43861953bd349479e3236301613 (diff) | |
Typos
Diffstat (limited to 'docs/doc')
| -rw-r--r-- | docs/doc/lexical.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/doc/lexical.html b/docs/doc/lexical.html index 141bef45..aad0d3cd 100644 --- a/docs/doc/lexical.html +++ b/docs/doc/lexical.html @@ -144,7 +144,7 @@ </pre> <p>With lexical scoping, variable mutation automatically leads to mutable data. This is because a function or modifier that depends on the variable value changes its behavior when the variable changes. So do objects; this slightly more concrete case is discussed <a href="oop.html#mutability">here</a>. The behavior change is observed by calling operations, and by accessing object fields. These are the only two actions that might behave differently when applied to the same values!</p> <h3 id="aliasing"><a class="header" href="#aliasing">Aliasing</a></h3> -<p>Mutable values exhibits <em>aliasing</em>. This means that when two variables refer to the same mutable value (or two copies of it exist generally), changes to one also affect the other.</p> +<p>Mutable values exhibit <em>aliasing</em>. This means that when two variables refer to the same mutable value (or two copies of it exist generally), changes to one also affect the other.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=cmVjb3JkIOKGkCB7IHLihpDin6jin6kg4ouEIHsgciDiiL7ihqkgPPCdlakgfSB9ClJlY29yZCDiiJ4KClJlY29yZDIg4oaQIFJlY29yZCAgIyBDb3B5IHRoZSBmdW5jdGlvbgpSZWNvcmQyICJuZXciCgpSZWNvcmQgMCAgICMgVGhlIGFkZGVkIHZhbHVlICJuZXciIGlzIHNlZW4gaGVyZSBhcyB3ZWxs">↗️</a><pre> <span class='Value'>record</span> <span class='Gets'>←</span> <span class='Brace'>{</span> <span class='Value'>r</span><span class='Gets'>←</span><span class='Bracket'>⟨⟩</span> <span class='Separator'>⋄</span> <span class='Brace'>{</span> <span class='Value'>r</span> <span class='Function'>∾</span><span class='Gets'>↩</span> <span class='Function'><</span><span class='Value'>𝕩</span> <span class='Brace'>}</span> <span class='Brace'>}</span> <span class='Function'>Record</span> <span class='Number'>∞</span> ⟨ ∞ ⟩ |
