diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-07-15 08:35:30 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-07-15 08:35:30 -0400 |
| commit | 85878912035fd3fb3582db60ef1fc06b459fe67a (patch) | |
| tree | ebc9984a9d7446184131c3042281c683966f250d /doc/match.md | |
| parent | 8d58eafa341b5a65bed1a267bc34653e46bbc6e8 (diff) | |
Rename self-comparison to self-search
Diffstat (limited to 'doc/match.md')
| -rw-r--r-- | doc/match.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/match.md b/doc/match.md index fdd2e6cc..5912b292 100644 --- a/doc/match.md +++ b/doc/match.md @@ -7,7 +7,7 @@ The primitive Match (`≡`) tests whether its two argument arrays are considered "abc" ≡ 'a'‿'b'‿'c' 4 ≢ <4 -Match always gives the same result as [Equals](arithmetic.md#comparisons) (`=`) 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 [search](search.md) and [self-comparison](selfcmp.md) functions. +Match always gives the same result as [Equals](arithmetic.md#comparisons) (`=`) 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 [search](search.md) and [self-search](selfcmp.md) functions. "abc" = "acc" "abc" ≡ "acc" |
