aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-02-03 13:43:13 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-02-03 15:24:53 -0500
commitb2374aef747b4988417f896fdf33852dd57b9b07 (patch)
treee04294eeefecca837026b82c2e8e96ff564d011e /doc
parentad582b5ef4184e26be86ef61be60c28e90b0bb7d (diff)
Rename Unique Mask to Mark Firsts
Diffstat (limited to 'doc')
-rw-r--r--doc/leading.md2
-rw-r--r--doc/primitive.md2
-rw-r--r--doc/train.md2
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/leading.md b/doc/leading.md
index bbb58a4c..6a0020aa 100644
--- a/doc/leading.md
+++ b/doc/leading.md
@@ -37,7 +37,7 @@ In these three cases above, the results are the same as you would get from trans
### Comparing cells
-The functions in the last section manipulate cells in the same way regardless of what data they contain. Other functions compare cells to each other, either testing whether they match or how they are ordered relative to one another. The two Grade functions `⍋⍒`, and the self-comparison functions Unique Mask (`∊`) and Occurrence Count (`⊒`), each give a list result, with one number for each cell. We can see below that Occurrence Count returns the same results even as we make the argument cells more complicated, because the changes made preserve the matching of cells.
+The functions in the last section manipulate cells in the same way regardless of what data they contain. Other functions compare cells to each other, either testing whether they match or how they are ordered relative to one another. The two Grade functions `⍋⍒`, and the self-comparison functions Classify (`⊐`), Mark Firsts (`∊`), and Occurrence Count (`⊒`), each give a list result, with one number for each cell. We can see below that Occurrence Count returns the same results even as we make the argument cells more complicated, because the changes made preserve the matching of cells.
s ← "abracadabra"
⊒ s
diff --git a/doc/primitive.md b/doc/primitive.md
index 5b08cd31..09b6c012 100644
--- a/doc/primitive.md
+++ b/doc/primitive.md
@@ -49,7 +49,7 @@ Functions that have significant differences from APL functions are marked with a
| `⊑` | [First](https://aplwiki.com/wiki/First) | Pick*
| `⊐` | Classify* (`⍷⊸⊐`) | [Index of](https://aplwiki.com/wiki/Index_Of)
| `⊒` | Occurrence Count* | Progressive Index of*
-| `∊` | [Unique Mask](https://aplwiki.com/wiki/Nub_Sieve) | [Member of](https://aplwiki.com/wiki/Membership)
+| `∊` | [Mark Firsts](https://aplwiki.com/wiki/Nub_Sieve) | [Member of](https://aplwiki.com/wiki/Membership)
| `⍷` | [Deduplicate](https://aplwiki.com/wiki/Unique) | [Find](https://aplwiki.com/wiki/Find)
| `⊔` | [Group Indices](group.md)* | [Group](group.md)*
| `!` | [Assert](assert.md)* | [Assert with Message](assert.md)*
diff --git a/doc/train.md b/doc/train.md
index 6bacc75a..933a6fa9 100644
--- a/doc/train.md
+++ b/doc/train.md
@@ -46,7 +46,7 @@ In a train, arguments alternate strictly with combining functions between them.
## Practice training
-The train `` ⊢>¯1»⌈` `` is actually a nice trick for getting the unique mask `∊𝕩` from the self-classify `⊐𝕩` without doing another search. Let's take a closer look, first by applying it mechanically. To do this, we apply each "argument" to the train's argument, and then combine them with the combining functions.
+The train `` ⊢>¯1»⌈` `` is actually a nice trick for marking first occurrences `∊𝕩` given the self-classify `⊐𝕩` without doing another search. Let's take a closer look, first by applying it mechanically. To do this, we apply each "argument" to the train's argument, and then combine them with the combining functions.
(⊢ > ¯1 » ⌈`) 𝕩
(⊢𝕩) > (¯1) » (⌈`𝕩)