aboutsummaryrefslogtreecommitdiff
path: root/docs/doc/match.html
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-07-15 08:35:30 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-07-15 08:35:30 -0400
commit85878912035fd3fb3582db60ef1fc06b459fe67a (patch)
treeebc9984a9d7446184131c3042281c683966f250d /docs/doc/match.html
parent8d58eafa341b5a65bed1a267bc34653e46bbc6e8 (diff)
Rename self-comparison to self-search
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 03da6ad6..dbf0b301 100644
--- a/docs/doc/match.html
+++ b/docs/doc/match.html
@@ -11,7 +11,7 @@
<span class='Number'>4</span> <span class='Function'>≢</span> <span class='Function'>&lt;</span><span class='Number'>4</span>
1
</pre>
-<p>Match always gives the same result as <a href="arithmetic.html#comparisons">Equals</a> (<code><span class='Function'>=</span></code>) when both arguments are atoms, but the two functions are extended to arrays differently: while the pervasive Equals maps over array arguments to return an array of results, Match compares them in totality and always returns one boolean (it never gives an error). Match is the basis for BQN's <a href="search.html">search</a> and <a href="selfcmp.html">self-comparison</a> functions.</p>
+<p>Match always gives the same result as <a href="arithmetic.html#comparisons">Equals</a> (<code><span class='Function'>=</span></code>) when both arguments are atoms, but the two functions are extended to arrays differently: while the pervasive Equals maps over array arguments to return an array of results, Match compares them in totality and always returns one boolean (it never gives an error). Match is the basis for BQN's <a href="search.html">search</a> and <a href="selfcmp.html">self-search</a> functions.</p>
<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ImFiYyIgPSAiYWNjIgoiYWJjIiDiiaEgImFjYyIKCiJhYmMiID0gImFiIiAgIyBNaXNtYXRjaGVkIHNoYXBlcwoiYWJjIiDiiaEgImFiIg==">↗️</a><pre> <span class='String'>&quot;abc&quot;</span> <span class='Function'>=</span> <span class='String'>&quot;acc&quot;</span>
⟨ 1 0 1 ⟩
<span class='String'>&quot;abc&quot;</span> <span class='Function'>≡</span> <span class='String'>&quot;acc&quot;</span>