aboutsummaryrefslogtreecommitdiff
path: root/docs/doc/match.html
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-12-12 11:29:59 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-12-12 11:29:59 -0500
commit4a6ad25256f4512573a87fe6f1a54fbabc86c2f6 (patch)
treec7131019c36f3800d7f5ee0b60081d0d8d453fff /docs/doc/match.html
parent27c5057cc5b09f29f0a5962f5ba837b217b5ecb0 (diff)
Some links to the section on mutability
Diffstat (limited to 'docs/doc/match.html')
-rw-r--r--docs/doc/match.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/doc/match.html b/docs/doc/match.html
index 1e73afb8..1e752f6f 100644
--- a/docs/doc/match.html
+++ b/docs/doc/match.html
@@ -55,7 +55,7 @@
</pre>
<p>This approach can't tell you whether two functions are mathematically different—that is, whether they ever return different results given the same arguments (this is an undecidable problem, and also gets confusing since &quot;different&quot; is included in its own definition). However, if two functions compare equal, then they will always return the same results.</p>
<h3 id="block-equality"><a class="header" href="#block-equality">Block equality</a></h3>
-<p>The final point above about block instances is subtler. An instance of a block function or modifier is mutable, meaning that its behavior can change over the course of a program. Consider the following two functions:</p>
+<p>The final point above about block instances is subtler. An instance of a block function or modifier is <a href="lexical.html#mutation">mutable</a>, meaning that its behavior can change over the course of a program. Consider the following two functions:</p>
<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=RuKAv0cg4oaQIHsgYeKGkDEwIOKLhCB7YSvwnZWpfeKAv3th4oap8J2VqX0gfQoKRiA1ICAgIyBPbmUgcmVzdWx0CkcgOApGIDUgICAjIEFub3RoZXIgcmVzdWx04oCUdGhlIGRlZmluaXRpb24gb2YgaW5zYW5pdHkh">↗️</a><pre> <span class='Function'>F</span><span class='Ligature'>‿</span><span class='Function'>G</span> <span class='Gets'>←</span> <span class='Brace'>{</span> <span class='Value'>a</span><span class='Gets'>←</span><span class='Number'>10</span> <span class='Separator'>⋄</span> <span class='Brace'>{</span><span class='Value'>a</span><span class='Function'>+</span><span class='Value'>𝕩</span><span class='Brace'>}</span><span class='Ligature'>‿</span><span class='Brace'>{</span><span class='Value'>a</span><span class='Gets'>↩</span><span class='Value'>𝕩</span><span class='Brace'>}</span> <span class='Brace'>}</span>
⟨ (function block) (function block) ⟩