aboutsummaryrefslogtreecommitdiff
path: root/help/deduplicate_find.md
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-01-24 17:06:40 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-01-24 17:06:40 -0500
commitc9bc3e80280fd8a38f6297de80196dcbff9c28d9 (patch)
tree6be559af4ebeab26168836a8fb4d0b4734ecee85 /help/deduplicate_find.md
parent3d78f125185ce47784245d6619f2878a6ad1b587 (diff)
Remove trailing whitespace from help/ markdown sources
Diffstat (limited to 'help/deduplicate_find.md')
-rw-r--r--help/deduplicate_find.md18
1 files changed, 8 insertions, 10 deletions
diff --git a/help/deduplicate_find.md b/help/deduplicate_find.md
index 168927c6..38a463bd 100644
--- a/help/deduplicate_find.md
+++ b/help/deduplicate_find.md
@@ -1,25 +1,25 @@
*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/deduplicate_find.html).*
# Epsilon Underbar (`⍷`)
-
+
## `⍷ 𝕩`: Deduplicate
-
+
Unique major cells of `𝕩`.
-
+
⍷ 4‿5‿6‿6‿4‿7‿5
a ← 3‿3 ⥊ ↕6
⍷ a
-
-
+
+
## `𝕨 ⍷ 𝕩`: Find
-
+
Mark the top left location of the occurrences of `𝕨` in `𝕩` with a 1, and other locations with 0.
-
+
Result is the same shape as `(≢𝕨)↕x`.
-
+
"string" ⍷ "substring"
"loooooong" ⍷ "short"
@@ -29,5 +29,3 @@ Result is the same shape as `(≢𝕨)↕x`.
c ← (0‿3‿0≍0‿1‿0)
c ⍷ b
-
-