aboutsummaryrefslogtreecommitdiff
path: root/help
diff options
context:
space:
mode:
Diffstat (limited to 'help')
-rw-r--r--help/!assert assertwithmsg.md48
-rw-r--r--help/+conjugate add.md32
-rw-r--r--help/-negate subtract.md36
-rw-r--r--help/<enclose less.md32
-rw-r--r--help/=rank equal.md40
-rw-r--r--help/>merge great.md48
-rw-r--r--help/`scan.md48
-rw-r--r--help/sindices replicate.md28
-rw-r--r--help/|abs modulus.md28
-rw-r--r--help/¨each.md24
-rw-r--r--help/«shiftbefore.md60
-rw-r--r--help/¬not span.md28
-rw-r--r--help/´fold.md44
-rw-r--r--help/»shiftafter.md60
-rw-r--r--help/×sign multiply.md24
-rw-r--r--help/÷reciprocal divide.md18
-rw-r--r--help/˘cells.md46
-rw-r--r--help/˙constant.md16
-rw-r--r--help/˜self swap.md28
-rw-r--r--help/⁼undo.md32
-rw-r--r--help/↑prefixes take.md100
-rw-r--r--help/↓suffixes drop.md84
-rw-r--r--help/↕range windows.md84
-rw-r--r--help/∊markfirst memberof.md58
-rw-r--r--help/∘atop.md32
-rw-r--r--help/√squareroot root.md24
-rw-r--r--help/∧sortup and.md24
-rw-r--r--help/∨sortdown or.md28
-rw-r--r--help/∾join jointo.md102
-rw-r--r--help/≍solo couple.md70
-rw-r--r--help/≠length notequal.md44
-rw-r--r--help/≡depth match.md32
-rw-r--r--help/≢shape notmatch.md32
-rw-r--r--help/≤lessequal.md16
-rw-r--r--help/≥greatequal.md16
-rw-r--r--help/⊏firstcell select.md60
-rw-r--r--help/⊐classify indexof.md54
-rw-r--r--help/⊑first pick.md52
-rw-r--r--help/⊒occcount progindex.md34
-rw-r--r--help/⊔groupindices group.md38
-rw-r--r--help/⊘valences.md28
-rw-r--r--help/⊢identity right.md24
-rw-r--r--help/⊣identity left.md24
-rw-r--r--help/⊸before bindleft.md48
-rw-r--r--help/⋆exponential power.md28
-rw-r--r--help/⋈enlist pair.md58
-rw-r--r--help/⌈ceiling maximum.md24
-rw-r--r--help/⌊floor minimum.md24
-rw-r--r--help/⌜table.md34
-rw-r--r--help/⌽reverse rotate.md68
-rw-r--r--help/⌾under.md20
-rw-r--r--help/⍉transpose dyadtranspose.md58
-rw-r--r--help/⍋gradeup binsup.md38
-rw-r--r--help/⍒gradedown binsdown.md36
-rw-r--r--help/⍟repeat.md20
-rw-r--r--help/⍷deduplicate find.md92
-rw-r--r--help/⎉rank.md52
-rw-r--r--help/⎊catch.md16
-rw-r--r--help/○over.md32
-rw-r--r--help/◶choose.md28
-rw-r--r--help/⚇depth.md16
-rw-r--r--help/⟜after bindright.md48
-rw-r--r--help/⥊deshape reshape.md56
63 files changed, 1351 insertions, 1225 deletions
diff --git a/help/!assert assertwithmsg.md b/help/!assert assertwithmsg.md
index 4e823a1e..80dfb851 100644
--- a/help/!assert assertwithmsg.md
+++ b/help/!assert assertwithmsg.md
@@ -1,31 +1,33 @@
-Exclamation Mark (`!`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/!assert assertwithmsg.html).*
+
+# Exclamation Mark (`!`)
`! 𝕩`: Assert
Throw an error if `𝕩` is not 1.
-```
- ! 1
-1
- ! 2
-Error: Assertion error
-at ! 2
- ^
- ! "hello"
-Error: hello
-at ! "hello"
-```
+
+ ! 1
+ 1
+ ! 2
+ Error: Assertion error
+ at ! 2
+ ^
+ ! "hello"
+ Error: hello
+ at ! "hello"
+
`𝕨 ! 𝕩`: Dyad
Throw an error with message `𝕨` if `𝕩` is not 1.
-```
- "hi" ! 1
-1
- "two" ! 2
-Error: two
-at "two" ! 2
- ^
- "hello error" ! "hello"
-Error: hello error
-at "hello error" ! "hello"
-``` \ No newline at end of file
+
+ "hi" ! 1
+ 1
+ "two" ! 2
+ Error: two
+ at "two" ! 2
+ ^
+ "hello error" ! "hello"
+ Error: hello error
+ at "hello error" ! "hello"
+
diff --git a/help/+conjugate add.md b/help/+conjugate add.md
index dc8a0467..37c32295 100644
--- a/help/+conjugate add.md
+++ b/help/+conjugate add.md
@@ -1,22 +1,24 @@
-Plus (`+`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/+conjugate add.html).*
+
+# Plus (`+`)
`+ 𝕩`: Conjugate
-```
- + 1
-1
- + ¯1
-¯1
-```
+
+ + 1
+ 1
+ + ¯1
+ ¯1
+
`𝕨 + 𝕩`: Add
`𝕨` added to `𝕩`. Either `𝕨` or `𝕩` can be a character, and if so, the other has to be a number.
[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
-```
- 1 + 2
-3
- 1 + 2‿3‿4
-⟨ 3 4 5 ⟩
- 'a' + 4
-'e'
-```
+
+ 1 + 2
+ 3
+ 1 + 2‿3‿4
+ ⟨ 3 4 5 ⟩
+ 'a' + 4
+ 'e'
+
diff --git a/help/-negate subtract.md b/help/-negate subtract.md
index df2cc167..10403db4 100644
--- a/help/-negate subtract.md
+++ b/help/-negate subtract.md
@@ -1,28 +1,30 @@
-Minus (`-`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/-negate subtract.html).*
+
+# Minus (`-`)
`- 𝕩`: Negate
Additive Inverse of `𝕩`.
[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
-```
- - 1
-¯1
- - ¯1
-1
-```
+
+ - 1
+ ¯1
+ - ¯1
+ 1
+
`𝕨 - 𝕩`: Subtract
Subtract `𝕩` from `𝕨`. `𝕨` and `𝕩` can be characters or numbers.
[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
-```
- 1 - 2
-¯1
- 1 - 2‿3‿4
-⟨ ¯1 ¯2 ¯3 ⟩
- 'a' - 4
-']'
- 'b' - 'a'
-1
-```
+
+ 1 - 2
+ ¯1
+ 1 - 2‿3‿4
+ ⟨ ¯1 ¯2 ¯3 ⟩
+ 'a' - 4
+ ']'
+ 'b' - 'a'
+ 1
+
diff --git a/help/<enclose less.md b/help/<enclose less.md
index bf2be0c4..5a433b9e 100644
--- a/help/<enclose less.md
+++ b/help/<enclose less.md
@@ -1,27 +1,29 @@
-Lesser Than (`<`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/<enclose less.html).*
+
+# Lesser Than (`<`)
`< 𝕩`: Enclose
Create a unit array containing `𝕩`. (`(≢𝕩) ≡ ⟨⟩`)
-```
- <1
-┌·
-· 1
- ┘
- ≢<1
-⟨⟩
-```
+ <1
+ ┌·
+ · 1
+ ┘
+
+ ≢<1
+ ⟨⟩
+
`𝕨 < 𝕩`: Lesser Than
`𝕨` and `𝕩` can both be either numbers or characters.
[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
-```
- 1 < 3
-1
- 2‿3‿0 < 3‿1‿0
-⟨ 1 0 0 ⟩
-``` \ No newline at end of file
+
+ 1 < 3
+ 1
+ 2‿3‿0 < 3‿1‿0
+ ⟨ 1 0 0 ⟩
+
diff --git a/help/=rank equal.md b/help/=rank equal.md
index 053fd27c..21999d63 100644
--- a/help/=rank equal.md
+++ b/help/=rank equal.md
@@ -1,28 +1,30 @@
-Equal (`=`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/=rank equal.html).*
+
+# Equal (`=`)
`= 𝕩`: Rank
Returns the number of dimensions in `𝕩`.
-```
- = 0
-0
- = 3⥊0
-1
- = 3‿3⥊0
-2
- 3‿3‿3 ⥊ ⟨⟨0⟩⟩
-3
-```
+
+ = 0
+ 0
+ = 3⥊0
+ 1
+ = 3‿3⥊0
+ 2
+ 3‿3‿3 ⥊ ⟨⟨0⟩⟩
+ 3
+
`𝕨 = 𝕩`: Equal To
[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
-```
- 1 = 3
-0
- 2‿3‿0 = 3‿1‿0
-⟨ 0 0 1 ⟩
- 'a' = 'a'
-1
-``` \ No newline at end of file
+
+ 1 = 3
+ 0
+ 2‿3‿0 = 3‿1‿0
+ ⟨ 0 0 1 ⟩
+ 'a' = 'a'
+ 1
+
diff --git a/help/>merge great.md b/help/>merge great.md
index 913a2b6c..a90e1d5d 100644
--- a/help/>merge great.md
+++ b/help/>merge great.md
@@ -1,4 +1,6 @@
-Greater Than (`>`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/>merge great.html).*
+
+# Greater Than (`>`)
`> 𝕩`: Merge
@@ -8,31 +10,31 @@ All elements must have the same rank.
Returns atomic values as is.
-```
- a ← ⟨⟨1, 2⟩, ⟨3, 4⟩⟩
-⟨ ⟨ 1 2 ⟩ ⟨ 3 4 ⟩ ⟩
- >a
-┌─
-╵ 1 2
- 3 4
- ┘
- ≢a
-⟨ 2 ⟩
- ≢>a
-⟨ 2 2 ⟩
-
-```
+
+ a ← ⟨⟨1, 2⟩, ⟨3, 4⟩⟩
+ ⟨ ⟨ 1 2 ⟩ ⟨ 3 4 ⟩ ⟩
+ >a
+ ┌─
+ ╵ 1 2
+ 3 4
+ ┘
+ ≢a
+ ⟨ 2 ⟩
+ ≢>a
+ ⟨ 2 2 ⟩
+
+
`𝕨 > 𝕩`: Greater Than
`𝕨` and `𝕩` can both be either numbers or characters.
[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
-```
- 1 > 3
-0
- 2‿3‿0 > 3‿1‿0
-⟨ 0 1 0 ⟩
- 'a' > 'b'
-1
-``` \ No newline at end of file
+
+ 1 > 3
+ 0
+ 2‿3‿0 > 3‿1‿0
+ ⟨ 0 1 0 ⟩
+ 'a' > 'b'
+ 1
+
diff --git a/help/`scan.md b/help/`scan.md
index dc4013b9..5f255d70 100644
--- a/help/`scan.md
+++ b/help/`scan.md
@@ -1,29 +1,31 @@
-Acute Accent (`` ` ``)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/`scan.html).*
-`𝔽` 𝕩`: Fold
+# Acute Accent (`` ` ``)
+
+``𝔽` 𝕩``: Fold
Scan over `𝕩` with `𝔽` from left to right, producing intermediate values.
-```
- +` 1‿2‿3
-⟨ 1 3 6 ⟩
- ⟨1, 1+2, (1+2)+3⟩
-⟨ 1 3 6 ⟩
- -` 1‿2‿3
-⟨ 1 ¯1 ¯4 ⟩
- ⟨1, 1-2, (1-2)-3⟩
-⟨ 1 ¯1 ¯4 ⟩
-```
-`𝕨 𝔽` 𝕩`: Scan With initial
+
+ +` 1‿2‿3
+ ⟨ 1 3 6 ⟩
+ ⟨1, 1+2, (1+2)+3⟩
+ ⟨ 1 3 6 ⟩
+ -` 1‿2‿3
+ ⟨ 1 ¯1 ¯4 ⟩
+ ⟨1, 1-2, (1-2)-3⟩
+ ⟨ 1 ¯1 ¯4 ⟩
+
+``𝕨 𝔽` 𝕩``: Scan With initial
Monadic scan, but use `𝕨` as initial left argument.
-```
- 5 +` 1‿2‿3
-⟨ 6 8 11 ⟩
- ⟨5+1, (5+1)+2, ((5+1)+2)+3⟩
-⟨ 6 8 11 ⟩
- 5 -` 1‿2‿3
-⟨ 4 2 ¯1 ⟩
- ⟨5-1, (5-1)-2, ((5-1)-2)-3⟩
-⟨ 4 2 ¯1 ⟩
-``` \ No newline at end of file
+
+ 5 +` 1‿2‿3
+ ⟨ 6 8 11 ⟩
+ ⟨5+1, (5+1)+2, ((5+1)+2)+3⟩
+ ⟨ 6 8 11 ⟩
+ 5 -` 1‿2‿3
+ ⟨ 4 2 ¯1 ⟩
+ ⟨5-1, (5-1)-2, ((5-1)-2)-3⟩
+ ⟨ 4 2 ¯1 ⟩
+
diff --git a/help/sindices replicate.md b/help/sindices replicate.md
index 852570d1..c0040925 100644
--- a/help/sindices replicate.md
+++ b/help/sindices replicate.md
@@ -1,23 +1,25 @@
-Solidus (`/`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/sindices replicate.html).*
+
+# Solidus (`/`)
`/ 𝕩`: Indices
Repeat the index of each element in `𝕩` by the element's value. `𝕩` must be rank 1.
-```
- / 1‿2‿3
-⟨ 0 1 1 2 2 2 ⟩
- / 1‿0‿1
-⟨ 0 2 ⟩
-```
+
+ / 1‿2‿3
+ ⟨ 0 1 1 2 2 2 ⟩
+ / 1‿0‿1
+ ⟨ 0 2 ⟩
+
`𝕨 / 𝕩`: Replicate
Repeat each major cell in `𝕩` by the corresponding element in `𝕨`.
Atomic `𝕨` applies to all elements.
-```
- 3 / "copy"
-"cccooopppyyy"
- 1‿0‿1 / 1‿2‿3
-⟨ 1 3 ⟩
-``` \ No newline at end of file
+
+ 3 / "copy"
+ "cccooopppyyy"
+ 1‿0‿1 / 1‿2‿3
+ ⟨ 1 3 ⟩
+
diff --git a/help/|abs modulus.md b/help/|abs modulus.md
index 533ab6b4..7a67ad86 100644
--- a/help/|abs modulus.md
+++ b/help/|abs modulus.md
@@ -1,25 +1,27 @@
-Pipe (`|`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/|abs modulus.html).*
+
+# Pipe (`|`)
`| 𝕩`: Absolute Value
Absolute Value of `𝕩`.
[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
-```
- | ¯2
-2
- | 1‿3‿¯4‿3
-⟨ 1 3 4 3 ⟩
-```
+
+ | ¯2
+ 2
+ | 1‿3‿¯4‿3
+ ⟨ 1 3 4 3 ⟩
+
`𝕨 | 𝕩`: Modulus
Remainder of `𝕩` divided by `𝕨`.
[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
-```
- 1 | 3
-0
- 2 | 3‿4‿5
-⟨ 1 0 1 ⟩
-``` \ No newline at end of file
+
+ 1 | 3
+ 0
+ 2 | 3‿4‿5
+ ⟨ 1 0 1 ⟩
+
diff --git a/help/¨each.md b/help/¨each.md
index 2a387b97..1ec3504d 100644
--- a/help/¨each.md
+++ b/help/¨each.md
@@ -1,15 +1,17 @@
-Diaresis (`¨`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/¨each.html).*
+
+# Diaresis (`¨`)
`𝔽¨ 𝕩`, `𝕨 𝔽¨ 𝕩`: Each
Apply `𝔽` to/between the major elements of the arguments. (`𝔽⚇¯1`)
-```
- <¨ 1‿2‿3
-┌─
-· ┌· ┌· ┌·
- · 1 · 2 · 3
- ┘ ┘ ┘
- ┘
- 4‿5‿6 ∾¨ 1‿2‿3
-⟨ ⟨ 4 1 ⟩ ⟨ 5 2 ⟩ ⟨ 6 3 ⟩ ⟩
-``` \ No newline at end of file
+
+ <¨ 1‿2‿3
+ ┌─
+ · ┌· ┌· ┌·
+ · 1 · 2 · 3
+ ┘ ┘ ┘
+ ┘
+ 4‿5‿6 ∾¨ 1‿2‿3
+ ⟨ ⟨ 4 1 ⟩ ⟨ 5 2 ⟩ ⟨ 6 3 ⟩ ⟩
+
diff --git a/help/«shiftbefore.md b/help/«shiftbefore.md
index 926dcefb..ae9ec2ce 100644
--- a/help/«shiftbefore.md
+++ b/help/«shiftbefore.md
@@ -1,37 +1,39 @@
-Left Pointing Double Angle Quotation (`«`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/«shiftbefore.html).*
+
+# Left Pointing Double Angle Quotation (`«`)
`« 𝕩`: Shift Before
Remove the first element of `𝕩`, add a cell of fill values to the end of the first axis of `𝕩`.
-```
- 78 « 1‿2‿3
-⟨ 1 2 78 ⟩
- « 1‿2‿3
-⟨ 2 3 0 ⟩
- « 3‿3 ⥊ 9
-┌─
-╵ 9 9 9
- 9 9 9
- 0 0 0
- ┘
-```
+
+ 78 « 1‿2‿3
+ ⟨ 1 2 78 ⟩
+ « 1‿2‿3
+ ⟨ 2 3 0 ⟩
+ « 3‿3 ⥊ 9
+ ┌─
+ ╵ 9 9 9
+ 9 9 9
+ 0 0 0
+ ┘
+
`𝕨 « 𝕩`: Shift Before
Remove the first `≠𝕨` (length) major cells from `𝕩`, join `𝕨` to the end of `𝕩`. Ranks must match.
-```
- 8‿5 « 1‿2‿3
-⟨ 3 8 5 ⟩
- a ← 3‿3 ⥊ 9
-┌─
-╵ 9 9 9
- 9 9 9
- 9 9 9
- ┘
- 1‿2‿3 « a
-┌─
-╵ 9 9 9
- 9 9 9
- 1 2 3
- ┘
-``` \ No newline at end of file
+
+ 8‿5 « 1‿2‿3
+ ⟨ 3 8 5 ⟩
+ a ← 3‿3 ⥊ 9
+ ┌─
+ ╵ 9 9 9
+ 9 9 9
+ 9 9 9
+ ┘
+ 1‿2‿3 « a
+ ┌─
+ ╵ 9 9 9
+ 9 9 9
+ 1 2 3
+ ┘
+
diff --git a/help/¬not span.md b/help/¬not span.md
index 5649410e..26349704 100644
--- a/help/¬not span.md
+++ b/help/¬not span.md
@@ -1,25 +1,27 @@
-Not (`¬`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/¬not span.html).*
+
+# Not (`¬`)
`¬ 𝕩`: Logical Not
Logical Not of `𝕩`.
[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
-```
- ¬ 0
-1
- ¬ 1‿0
-⟨ 0 1 ⟩
-```
+
+ ¬ 0
+ 1
+ ¬ 1‿0
+ ⟨ 0 1 ⟩
+
`𝕨 ¬ 𝕩`: Span
Count of numbers in the inclusive range from `𝕩` to `𝕨`.
[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
-```
- 3 ¬ 1
-3
- 3‿4 ¬ 0‿2
-⟨ 4 3 ⟩
-``` \ No newline at end of file
+
+ 3 ¬ 1
+ 3
+ 3‿4 ¬ 0‿2
+ ⟨ 4 3 ⟩
+
diff --git a/help/´fold.md b/help/´fold.md
index 0f3d2a69..2561bd89 100644
--- a/help/´fold.md
+++ b/help/´fold.md
@@ -1,28 +1,30 @@
-Acute Accent (`´`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/´fold.html).*
+
+# Acute Accent (`´`)
`𝔽´ 𝕩`: Fold
Fold over `𝕩` with `𝔽` from right to left i.e. Insert `𝔽` between the elements of `𝕩`.
-```
- +´ 1‿2‿3
-6
- 1+2+3
-6
- -´ 1‿2‿3
-2
- 1-2-3
-2
-```
+
+ +´ 1‿2‿3
+ 6
+ 1+2+3
+ 6
+ -´ 1‿2‿3
+ 2
+ 1-2-3
+ 2
+
`𝕨 𝔽´ 𝕩`: Fold With initial
Monadic fold, but use `𝕨` as initial right argument.
-```
- 5 +´ 1‿2‿3
-11
- 1+2+3+5
-11
- 5 -´ 1‿2‿3
-¯3
- 1-2-3-5
-¯3
-``` \ No newline at end of file
+
+ 5 +´ 1‿2‿3
+ 11
+ 1+2+3+5
+ 11
+ 5 -´ 1‿2‿3
+ ¯3
+ 1-2-3-5
+ ¯3
+
diff --git a/help/»shiftafter.md b/help/»shiftafter.md
index af8a6bb1..0d0bf6ff 100644
--- a/help/»shiftafter.md
+++ b/help/»shiftafter.md
@@ -1,37 +1,39 @@
-Right Pointing Double Angle Quotation (`»`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/»shiftafter.html).*
+
+# Right Pointing Double Angle Quotation (`»`)
`» 𝕩`: Shift After
Remove the last element of `𝕩`, add a cell of fill values to the start of the first axis of `𝕩`.
-```
- » 1‿2‿3
-⟨ 0 1 2 ⟩
- » 3‿3 ⥊ 9
-┌─
-╵ 0 0 0
- 9 9 9
- 9 9 9
- ┘
-```
+
+ » 1‿2‿3
+ ⟨ 0 1 2 ⟩
+ » 3‿3 ⥊ 9
+ ┌─
+ ╵ 0 0 0
+ 9 9 9
+ 9 9 9
+ ┘
+
`𝕨 » 𝕩`: Shift After
Remove the last `≠𝕨` (length) major cells from `𝕩`, join `𝕨` to the start of `𝕩`. Ranks must match.
-```
- 78 » 1‿2‿3
-⟨ 78 1 2 ⟩
- 1‿2 » 1‿2‿3
-⟨ 1 2 1 ⟩
- a ← 3‿3 ⥊ 9
-┌─
-╵ 9 9 9
- 9 9 9
- 9 9 9
- ┘
- 1‿2‿3 » a
-┌─
-╵ 1 2 3
- 9 9 9
- 9 9 9
- ┘
-``` \ No newline at end of file
+
+ 78 » 1‿2‿3
+ ⟨ 78 1 2 ⟩
+ 1‿2 » 1‿2‿3
+ ⟨ 1 2 1 ⟩
+ a ← 3‿3 ⥊ 9
+ ┌─
+ ╵ 9 9 9
+ 9 9 9
+ 9 9 9
+ ┘
+ 1‿2‿3 » a
+ ┌─
+ ╵ 1 2 3
+ 9 9 9
+ 9 9 9
+ ┘
+
diff --git a/help/×sign multiply.md b/help/×sign multiply.md
index 465d5023..ea513dbe 100644
--- a/help/×sign multiply.md
+++ b/help/×sign multiply.md
@@ -1,4 +1,6 @@
-Times (`×`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/×sign multiply.html).*
+
+# Times (`×`)
`× 𝕩`: Sign
@@ -8,19 +10,19 @@ Sign of `𝕩`.
- `1` if `𝕩 > 0`
[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
-```
- × ¯5‿0‿5‿1
-⟨ ¯1 0 1 1 ⟩
-```
+
+ × ¯5‿0‿5‿1
+ ⟨ ¯1 0 1 1 ⟩
+
`𝕨 × 𝕩`: Multiply
`𝕨` multiplied by `𝕩`.
[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
-```
- 1 × 2
-2
- 2 × 2‿3‿4
-⟨ 4 6 8 ⟩
-``` \ No newline at end of file
+
+ 1 × 2
+ 2
+ 2 × 2‿3‿4
+ ⟨ 4 6 8 ⟩
+
diff --git a/help/÷reciprocal divide.md b/help/÷reciprocal divide.md
index b43b5a76..d55fb14b 100644
--- a/help/÷reciprocal divide.md
+++ b/help/÷reciprocal divide.md
@@ -1,20 +1,22 @@
-Divide (`÷`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/÷reciprocal divide.html).*
+
+# Divide (`÷`)
`÷ 𝕩`: Reciprocal
Gives `1 ÷ 𝕩`.
[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
-```
- ÷ 5
-0.2
-```
+
+ ÷ 5
+ 0.2
+
`𝕨 ÷ 𝕩`: Divide
`𝕨` divided by `𝕩`.
[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
-```
-ExamplesIfAny
-``` \ No newline at end of file
+
+ ExamplesIfAny
+
diff --git a/help/˘cells.md b/help/˘cells.md
index 4f5a3751..39a686f2 100644
--- a/help/˘cells.md
+++ b/help/˘cells.md
@@ -1,26 +1,28 @@
-Breve (`˘`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/˘cells.html).*
+
+# Breve (`˘`)
`𝔽˘ 𝕩`, `𝕨 𝔽˘ 𝕩`: Cells
Apply `𝔽` to/between the major cells of the arguments. (`𝔽⎉¯1`)
-```
- a ← 3‿3 ⥊ ↕9
-┌─
-╵ 0 1 2
- 3 4 5
- 6 7 8
- ┘
- <˘ a
-⟨ ⟨ 0 1 2 ⟩ ⟨ 3 4 5 ⟩ ⟨ 6 7 8 ⟩ ⟩
- a ≍˘ a
-┌─
-╎ 0 1 2
- 0 1 2
-
- 3 4 5
- 3 4 5
-
- 6 7 8
- 6 7 8
- ┘
-``` \ No newline at end of file
+
+ a ← 3‿3 ⥊ ↕9
+ ┌─
+ ╵ 0 1 2
+ 3 4 5
+ 6 7 8
+ ┘
+ <˘ a
+ ⟨ ⟨ 0 1 2 ⟩ ⟨ 3 4 5 ⟩ ⟨ 6 7 8 ⟩ ⟩
+ a ≍˘ a
+ ┌─
+ ╎ 0 1 2
+ 0 1 2
+
+ 3 4 5
+ 3 4 5
+
+ 6 7 8
+ 6 7 8
+ ┘
+
diff --git a/help/˙constant.md b/help/˙constant.md
index c7025d3e..f34e7ca4 100644
--- a/help/˙constant.md
+++ b/help/˙constant.md
@@ -1,11 +1,13 @@
-Dot Above (`˙`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/˙constant.html).*
+
+# Dot Above (`˙`)
`𝔽˙ 𝕩`, `𝕨 𝔽˙ 𝕩`: Constant
Returns a function that will always return `𝕗`.
-```
- "hello" (1 ˙) 2
-1
- "hello" ({𝕨+𝕩} ˙) 2
-(function block)
-``` \ No newline at end of file
+
+ "hello" (1 ˙) 2
+ 1
+ "hello" ({𝕨+𝕩} ˙) 2
+ (function block)
+
diff --git a/help/˜self swap.md b/help/˜self swap.md
index d50ddc9f..dcef5130 100644
--- a/help/˜self swap.md
+++ b/help/˜self swap.md
@@ -1,21 +1,23 @@
-Small Tilde (`˜`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/˜self swap.html).*
+
+# Small Tilde (`˜`)
`𝔽˜ 𝕩`: Self
Supplies `𝕩` as a left argument to `𝔽` (`𝕩 𝔽 𝕩`).
-```
- 1 + 1
-2
- +˜ 1
-2
-```
+
+ 1 + 1
+ 2
+ +˜ 1
+ 2
+
`𝕨 𝔽˜ 𝕩`: Swap
Swaps the arguments of `𝔽` (`𝕩 𝔽 𝕨`).
-```
- 1 - 2
-¯1
- 1 -˜ 2
-1
-``` \ No newline at end of file
+
+ 1 - 2
+ ¯1
+ 1 -˜ 2
+ 1
+
diff --git a/help/⁼undo.md b/help/⁼undo.md
index cac9cf46..10b622b3 100644
--- a/help/⁼undo.md
+++ b/help/⁼undo.md
@@ -1,20 +1,22 @@
-Superscript Equals Sign (`⁼`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/⁼undo.html).*
+
+# Superscript Equals Sign (`⁼`)
`𝔽⁼ 𝕩`, `𝕨 𝔽⁼ 𝕩`: Undo
Invert the function `𝔽`, or use its defined inverse. Not all functions have inverses.
-```
- 1 - 2
-¯1
- 1 -⁼ 2
-¯1
- √ 16
-4
- √⁼ 4
-16
- ⋆ 1
-2.718281828459045
- ⋆⁼ 2.718281828459045
-1
-``` \ No newline at end of file
+
+ 1 - 2
+ ¯1
+ 1 -⁼ 2
+ ¯1
+ √ 16
+ 4
+ √⁼ 4
+ 16
+ ⋆ 1
+ 2.718281828459045
+ ⋆⁼ 2.718281828459045
+ 1
+
diff --git a/help/↑prefixes take.md b/help/↑prefixes take.md
index 139ebda4..73530b51 100644
--- a/help/↑prefixes take.md
+++ b/help/↑prefixes take.md
@@ -1,26 +1,28 @@
-Up Arrow (`↑`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/↑prefixes take.html).*
+
+# Up Arrow (`↑`)
`↑ 𝕩`: Prefixes
Prefixes of array `𝕩` along its first axis.
-```
- ↑ 1‿2‿3‿4
-⟨ ⟨⟩ ⟨ 1 ⟩ ⟨ 1 2 ⟩ ⟨ 1 2 3 ⟩ ⟨ 1 2 3 4 ⟩ ⟩
- a ← 3‿3 ⥊ ↕9
-┌─
-╵ 0 1 2
- 3 4 5
- 6 7 8
- ┘
- ↑ a
-┌─
-· ↕0‿3 ┌─ ┌─ ┌─
- ╵ 0 1 2 ╵ 0 1 2 ╵ 0 1 2
- ┘ 3 4 5 3 4 5
- ┘ 6 7 8
- ┘
- ┘
-```
+
+ ↑ 1‿2‿3‿4
+ ⟨ ⟨⟩ ⟨ 1 ⟩ ⟨ 1 2 ⟩ ⟨ 1 2 3 ⟩ ⟨ 1 2 3 4 ⟩ ⟩
+ a ← 3‿3 ⥊ ↕9
+ ┌─
+ ╵ 0 1 2
+ 3 4 5
+ 6 7 8
+ ┘
+ ↑ a
+ ┌─
+ · ↕0‿3 ┌─ ┌─ ┌─
+ ╵ 0 1 2 ╵ 0 1 2 ╵ 0 1 2
+ ┘ 3 4 5 3 4 5
+ ┘ 6 7 8
+ ┘
+ ┘
+
`𝕨 ↑ 𝕩`: Take
@@ -29,34 +31,34 @@ For each integer in `𝕨`, take that many elements from each dimension of `𝕩
Negative numbers take from the end.
If any of the elements in `𝕨` are greater than the length of their respective dimension, the dimension is extended with a fill value.
-```
- 3 ↑ 1‿3‿5‿67
-⟨ 1 3 5 ⟩
- a ← 4‿4 ⥊ ↕16
-┌─
-╵ 0 1 2 3
- 4 5 6 7
- 8 9 10 11
- 12 13 14 15
+
+ 3 ↑ 1‿3‿5‿67
+ ⟨ 1 3 5 ⟩
+ a ← 4‿4 ⥊ ↕16
+ ┌─
+ ╵ 0 1 2 3
+ 4 5 6 7
+ 8 9 10 11
+ 12 13 14 15
+ ┘
+ 3‿3 ↑ a
+ ┌─
+ ╵ 0 1 2
+ 4 5 6
+ 8 9 10
+ ┘
+ 5‿5 ↑ a
+ ┌─
+ ╵ 0 1 2 3 0
+ 4 5 6 7 0
+ 8 9 10 11 0
+ 12 13 14 15 0
+ 0 0 0 0 0
+ ┘
+ 3‿¯3 ↑ a
+ ┌─
+ ╵ 1 2 3
+ 5 6 7
+ 9 10 11
- 3‿3 ↑ a
-┌─
-╵ 0 1 2
- 4 5 6
- 8 9 10
- ┘
- 5‿5 ↑ a
-┌─
-╵ 0 1 2 3 0
- 4 5 6 7 0
- 8 9 10 11 0
- 12 13 14 15 0
- 0 0 0 0 0
- ┘
- 3‿¯3 ↑ a
-┌─
-╵ 1 2 3
- 5 6 7
- 9 10 11
- ┘
-``` \ No newline at end of file
+
diff --git a/help/↓suffixes drop.md b/help/↓suffixes drop.md
index a1a0c346..39648ccd 100644
--- a/help/↓suffixes drop.md
+++ b/help/↓suffixes drop.md
@@ -1,51 +1,53 @@
-Down Arrow (`↓`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/↓suffixes drop.html).*
+
+# Down Arrow (`↓`)
`↓ 𝕩`: Suffixes
Suffixes of array `𝕩` along its first axis.
-```
- ↓ 1‿2‿3‿4
-⟨ ⟨ 1 2 3 4 ⟩ ⟨ 2 3 4 ⟩ ⟨ 3 4 ⟩ ⟨ 4 ⟩ ⟨⟩ ⟩
- a ← 3‿3 ⥊ ↕9
-┌─
-╵ 0 1 2
- 3 4 5
- 6 7 8
- ┘
- ↓ a
-┌─
-· ┌─ ┌─ ┌─ ↕0‿3
- ╵ 0 1 2 ╵ 3 4 5 ╵ 6 7 8
- 3 4 5 6 7 8 ┘
- 6 7 8 ┘
- ┘
- ┘
-```
+
+ ↓ 1‿2‿3‿4
+ ⟨ ⟨ 1 2 3 4 ⟩ ⟨ 2 3 4 ⟩ ⟨ 3 4 ⟩ ⟨ 4 ⟩ ⟨⟩ ⟩
+ a ← 3‿3 ⥊ ↕9
+ ┌─
+ ╵ 0 1 2
+ 3 4 5
+ 6 7 8
+ ┘
+ ↓ a
+ ┌─
+ · ┌─ ┌─ ┌─ ↕0‿3
+ ╵ 0 1 2 ╵ 3 4 5 ╵ 6 7 8
+ 3 4 5 6 7 8 ┘
+ 6 7 8 ┘
+ ┘
+ ┘
+
`𝕨 ↓ 𝕩`: Drop
For each integer in `𝕨`, drop that many elements from the beginning of each dimension of `𝕩`.
Negative numbers drop from the end.
-```
- 3 ↓ 1‿3‿5‿67
-⟨ 67 ⟩
- a ← 4‿4 ⥊ ↕16
-┌─
-╵ 0 1 2 3
- 4 5 6 7
- 8 9 10 11
- 12 13 14 15
- ┘
- 3‿3 ↓ a
-┌─
-╵ 15
- ┘
- 5‿5 ↓ a
-┌┐
-└┘
- 3‿¯3 ↓ a
-┌─
-╵ 12
- ┘
-``` \ No newline at end of file
+
+ 3 ↓ 1‿3‿5‿67
+ ⟨ 67 ⟩
+ a ← 4‿4 ⥊ ↕16
+ ┌─
+ ╵ 0 1 2 3
+ 4 5 6 7
+ 8 9 10 11
+ 12 13 14 15
+ ┘
+ 3‿3 ↓ a
+ ┌─
+ ╵ 15
+ ┘
+ 5‿5 ↓ a
+ ┌┐
+ └┘
+ 3‿¯3 ↓ a
+ ┌─
+ ╵ 12
+ ┘
+
diff --git a/help/↕range windows.md b/help/↕range windows.md
index 3cb886e5..d052bce0 100644
--- a/help/↕range windows.md
+++ b/help/↕range windows.md
@@ -1,51 +1,53 @@
-Up Down Arrow (`↕`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/↕range windows.html).*
+
+# Up Down Arrow (`↕`)
`↕ 𝕩`: Range
Return all indices to index into an array of shape `𝕩`, in the shape described by `𝕩`.
When given a single number, range from 0 to `𝕩-1`.
-```
- ↕ 4
-⟨ 0 1 2 3 ⟩
- ↕ 4‿5
-┌─
-╵ ⟨ 0 0 ⟩ ⟨ 0 1 ⟩ ⟨ 0 2 ⟩ ⟨ 0 3 ⟩ ⟨ 0 4 ⟩
- ⟨ 1 0 ⟩ ⟨ 1 1 ⟩ ⟨ 1 2 ⟩ ⟨ 1 3 ⟩ ⟨ 1 4 ⟩
- ⟨ 2 0 ⟩ ⟨ 2 1 ⟩ ⟨ 2 2 ⟩ ⟨ 2 3 ⟩ ⟨ 2 4 ⟩
- ⟨ 3 0 ⟩ ⟨ 3 1 ⟩ ⟨ 3 2 ⟩ ⟨ 3 3 ⟩ ⟨ 3 4 ⟩
- ┘
-```
+
+ ↕ 4
+ ⟨ 0 1 2 3 ⟩
+ ↕ 4‿5
+ ┌─
+ ╵ ⟨ 0 0 ⟩ ⟨ 0 1 ⟩ ⟨ 0 2 ⟩ ⟨ 0 3 ⟩ ⟨ 0 4 ⟩
+ ⟨ 1 0 ⟩ ⟨ 1 1 ⟩ ⟨ 1 2 ⟩ ⟨ 1 3 ⟩ ⟨ 1 4 ⟩
+ ⟨ 2 0 ⟩ ⟨ 2 1 ⟩ ⟨ 2 2 ⟩ ⟨ 2 3 ⟩ ⟨ 2 4 ⟩
+ ⟨ 3 0 ⟩ ⟨ 3 1 ⟩ ⟨ 3 2 ⟩ ⟨ 3 3 ⟩ ⟨ 3 4 ⟩
+ ┘
+
`𝕨 ↕ 𝕩`: Windows
Overlapping slices of `𝕩` which are of shape `𝕨`.
-```
- 5 ↕ "abcdefg"
-┌─
-╵"abcde
- bcdef
- cdefg"
- ┘
- a ← 3‿3⥊↕9
-┌─
-╵ 0 1 2
- 3 4 5
- 6 7 8
- ┘
- 2‿2 ↕ a
-┌─
-┆ 0 1
- 3 4
-
- 1 2
- 4 5
-
-
- 3 4
- 6 7
-
- 4 5
- 7 8
- ┘
-``` \ No newline at end of file
+
+ 5 ↕ "abcdefg"
+ ┌─
+ ╵"abcde
+ bcdef
+ cdefg"
+ ┘
+ a ← 3‿3⥊↕9
+ ┌─
+ ╵ 0 1 2
+ 3 4 5
+ 6 7 8
+ ┘
+ 2‿2 ↕ a
+ ┌─
+ ┆ 0 1
+ 3 4
+
+ 1 2
+ 4 5
+
+
+ 3 4
+ 6 7
+
+ 4 5
+ 7 8
+ ┘
+
diff --git a/help/∊markfirst memberof.md b/help/∊markfirst memberof.md
index 05e7ce28..04d4a940 100644
--- a/help/∊markfirst memberof.md
+++ b/help/∊markfirst memberof.md
@@ -1,37 +1,39 @@
-Element Of (`∊`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/∊markfirst memberof.html).*
+
+# Element Of (`∊`)
`∊ 𝕩`: Unique Mask
Mark the first occurrence of each major cell in `𝕩` with a 1, and all other occurrences with a 0.
-```
- ∊ 4‿5‿6‿6‿4‿7‿5
-⟨ 1 1 1 0 0 1 0 ⟩
- a ← 3‿3 ⥊ ↕9
-┌─
-╵ 0 1 2
- 3 4 5
- 6 7 8
- ┘
- ∊ a
-⟨ 1 1 1 ⟩
-```
+
+ ∊ 4‿5‿6‿6‿4‿7‿5
+ ⟨ 1 1 1 0 0 1 0 ⟩
+ a ← 3‿3 ⥊ ↕9
+ ┌─
+ ╵ 0 1 2
+ 3 4 5
+ 6 7 8
+ ┘
+ ∊ a
+ ⟨ 1 1 1 ⟩
+
`𝕨 ∊ 𝕩`: Member Of
Is each element in `𝕨` a major cell of `𝕩`?
-```
- ⟨1⟩ ∊ ↕9
-⟨ 1 ⟩
- a ← 3‿3 ⥊ ↕9
-┌─
-╵ 0 1 2
- 3 4 5
- 6 7 8
+
+ ⟨1⟩ ∊ ↕9
+ ⟨ 1 ⟩
+ a ← 3‿3 ⥊ ↕9
+ ┌─
+ ╵ 0 1 2
+ 3 4 5
+ 6 7 8
+ ┘
+ ⟨0‿1‿2⟩ ∊ a
+ ┌·
+ · 0
- ⟨0‿1‿2⟩ ∊ a
-┌·
-· 0
- ┘
- ⟨1‿3 ⥊ 0‿1‿2⟩ ∊ a
-⟨ 1 ⟩
-``` \ No newline at end of file
+ ⟨1‿3 ⥊ 0‿1‿2⟩ ∊ a
+ ⟨ 1 ⟩
+
diff --git a/help/∘atop.md b/help/∘atop.md
index b1bcd796..9a713560 100644
--- a/help/∘atop.md
+++ b/help/∘atop.md
@@ -1,27 +1,29 @@
-Ring Operator (`∘`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/∘atop.html).*
+
+# Ring Operator (`∘`)
`𝔽∘𝔾 𝕩`: Atop
Apply `𝔾` to `𝕩`, then apply `𝔽` (`𝔽 𝔾 𝕩`).
`𝔽` and `𝔾` must be monadic.
-```
- -∘- 5
-5
- - - 5
-5
-```
+
+ -∘- 5
+ 5
+ - - 5
+ 5
+
`𝕨 𝔽∘𝔾 𝕩`: Dyadic Atop
Apply `𝔾` to `𝕨` and `𝕩`, then apply `𝔽` (`𝔽 (𝕨 𝔾 𝕩)`).
`𝔽` must be monadic, and `𝔾` must be dyadic.
-```
- 1 -∘+ 2
-¯3
- 1 - + 2
-¯1
- - 1 + 2
-¯3
-``` \ No newline at end of file
+
+ 1 -∘+ 2
+ ¯3
+ 1 - + 2
+ ¯1
+ - 1 + 2
+ ¯3
+
diff --git a/help/√squareroot root.md b/help/√squareroot root.md
index 8e14ff8f..b7a30406 100644
--- a/help/√squareroot root.md
+++ b/help/√squareroot root.md
@@ -1,21 +1,23 @@
-Root (`√`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/√squareroot root.html).*
+
+# Root (`√`)
`√ 𝕩`: Square root
[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
-```
- √ 2
-1.4142135623730951
-```
+
+ √ 2
+ 1.4142135623730951
+
`𝕨 √ 𝕩`: Root
`𝕨`th root of `𝕩`.
[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
-```
- 2 √ 2
-1.4142135623730951
- 1‿2‿3‿4 √ 4
-⟨ 4 2 1.5874010519681994 1.414213562373095 ⟩
-``` \ No newline at end of file
+
+ 2 √ 2
+ 1.4142135623730951
+ 1‿2‿3‿4 √ 4
+ ⟨ 4 2 1.5874010519681994 1.414213562373095 ⟩
+
diff --git a/help/∧sortup and.md b/help/∧sortup and.md
index dd53aee3..9b23d4ac 100644
--- a/help/∧sortup and.md
+++ b/help/∧sortup and.md
@@ -1,21 +1,23 @@
-Logical And (`∧`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/∧sortup and.html).*
+
+# Logical And (`∧`)
`∧ 𝕩`: Sort Up
Sort array `𝕩` in ascending order.
-```
- ∧ 3‿1‿4‿1‿5
-⟨ 1 1 3 4 5 ⟩
-```
+
+ ∧ 3‿1‿4‿1‿5
+ ⟨ 1 1 3 4 5 ⟩
+
`𝕨 ∧ 𝕩`: Logical And
Logical And of `𝕨` and `𝕩`.
[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
-```
- 1 ∧ 1
-1
- 1‿0 ∧ 1‿1
-⟨ 1 0 ⟩
-``` \ No newline at end of file
+
+ 1 ∧ 1
+ 1
+ 1‿0 ∧ 1‿1
+ ⟨ 1 0 ⟩
+
diff --git a/help/∨sortdown or.md b/help/∨sortdown or.md
index 6e8d27b7..78eebef9 100644
--- a/help/∨sortdown or.md
+++ b/help/∨sortdown or.md
@@ -1,23 +1,25 @@
-Logical Or (`∨`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/∨sortdown or.html).*
+
+# Logical Or (`∨`)
`∨ 𝕩`: Sort Down
Sort array `𝕩` in descending order.
-```
- ∨ 3‿1‿4‿1‿5
-⟨ 5 4 3 1 1 ⟩
-```
+
+ ∨ 3‿1‿4‿1‿5
+ ⟨ 5 4 3 1 1 ⟩
+
`𝕨 ∨ 𝕩`: Logical Or
Logical Or of `𝕨` and `𝕩`.
[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
-```
- 1 ∨ 0
-1
- 1‿0 ∨ 1‿1
-⟨ 1 1 ⟩
- 0 ∨ 0
-0
-``` \ No newline at end of file
+
+ 1 ∨ 0
+ 1
+ 1‿0 ∨ 1‿1
+ ⟨ 1 1 ⟩
+ 0 ∨ 0
+ 0
+
diff --git a/help/∾join jointo.md b/help/∾join jointo.md
index 028ea885..b69f5a45 100644
--- a/help/∾join jointo.md
+++ b/help/∾join jointo.md
@@ -1,60 +1,62 @@
-Lazy S (`∾`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/∾join jointo.html).*
+
+# Lazy S (`∾`)
`∾ 𝕩`: Join
Join all elements of `𝕩` together.
Element ranks must be compatible.
-```
- ∾ ⟨1‿2, 3, 4‿5⟩
-⟨ 1 2 3 4 5 ⟩
- m ← (3‿1≍⌜4‿2‿5) ⥊¨ 2‿3⥊↕6
-┌─
-╵ ┌─ ┌─ ┌─
- ╵ 0 0 0 0 ╵ 1 1 ╵ 2 2 2 2 2
- 0 0 0 0 1 1 2 2 2 2 2
- 0 0 0 0 1 1 2 2 2 2 2
- ┘ ┘ ┘
- ┌─ ┌─ ┌─
- ╵ 3 3 3 3 ╵ 4 4 ╵ 5 5 5 5 5
- ┘ ┘ ┘
- ┘
- ∾ m
-┌─
-╵ 0 0 0 0 1 1 2 2 2 2 2
- 0 0 0 0 1 1 2 2 2 2 2
- 0 0 0 0 1 1 2 2 2 2 2
- 3 3 3 3 4 4 5 5 5 5 5
- ┘
-```
+
+ ∾ ⟨1‿2, 3, 4‿5⟩
+ ⟨ 1 2 3 4 5 ⟩
+ m ← (3‿1≍⌜4‿2‿5) ⥊¨ 2‿3⥊↕6
+ ┌─
+ ╵ ┌─ ┌─ ┌─
+ ╵ 0 0 0 0 ╵ 1 1 ╵ 2 2 2 2 2
+ 0 0 0 0 1 1 2 2 2 2 2
+ 0 0 0 0 1 1 2 2 2 2 2
+ ┘ ┘ ┘
+ ┌─ ┌─ ┌─
+ ╵ 3 3 3 3 ╵ 4 4 ╵ 5 5 5 5 5
+ ┘ ┘ ┘
+ ┘
+ ∾ m
+ ┌─
+ ╵ 0 0 0 0 1 1 2 2 2 2 2
+ 0 0 0 0 1 1 2 2 2 2 2
+ 0 0 0 0 1 1 2 2 2 2 2
+ 3 3 3 3 4 4 5 5 5 5 5
+ ┘
+
`𝕨 ∾ 𝕩`: Join
Join `𝕨` to `𝕩` along the first axis.
-```
- "abcd" ∾ "EFG"
-"abcdEFG"
- a ← 3‿3 ⥊ ↕9
-┌─
-╵ 0 1 2
- 3 4 5
- 6 7 8
- ┘
- c ← 4‿3 ⥊ ↕12
-┌─
-╵ 0 1 2
- 3 4 5
- 6 7 8
- 9 10 11
- ┘
- a∾c
-┌─
-╵ 0 1 2
- 3 4 5
- 6 7 8
- 0 1 2
- 3 4 5
- 6 7 8
- 9 10 11
- ┘
-``` \ No newline at end of file
+
+ "abcd" ∾ "EFG"
+ "abcdEFG"
+ a ← 3‿3 ⥊ ↕9
+ ┌─
+ ╵ 0 1 2
+ 3 4 5
+ 6 7 8
+ ┘
+ c ← 4‿3 ⥊ ↕12
+ ┌─
+ ╵ 0 1 2
+ 3 4 5
+ 6 7 8
+ 9 10 11
+ ┘
+ a∾c
+ ┌─
+ ╵ 0 1 2
+ 3 4 5
+ 6 7 8
+ 0 1 2
+ 3 4 5
+ 6 7 8
+ 9 10 11
+ ┘
+
diff --git a/help/≍solo couple.md b/help/≍solo couple.md
index 9ce6366a..03b8fe03 100644
--- a/help/≍solo couple.md
+++ b/help/≍solo couple.md
@@ -1,42 +1,44 @@
-Tape (`≍`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/≍solo couple.html).*
+
+# Tape (`≍`)
`≍ 𝕩`: Solo
Add a dimension to `𝕩`.
-```
- ≍ 1
-⟨ 1 ⟩
-
- ≍≍ 1
-┌─
-╵ 1
- ┘
-
- ≍≍≍ 1
-┌─
-╎ 1
- ┘
-
- ≍≍ 1‿2‿3‿4
-┌─
-╵ 1 2 3 4
- ┘
-
- ≍≍≍ 1‿2‿3‿4
-┌─
-╎ 1 2 3 4
- ┘
-```
+
+ ≍ 1
+ ⟨ 1 ⟩
+
+ ≍≍ 1
+ ┌─
+ ╵ 1
+ ┘
+
+ ≍≍≍ 1
+ ┌─
+ ╎ 1
+ ┘
+
+ ≍≍ 1‿2‿3‿4
+ ┌─
+ ╵ 1 2 3 4
+ ┘
+
+ ≍≍≍ 1‿2‿3‿4
+ ┌─
+ ╎ 1 2 3 4
+ ┘
+
`𝕨 ≍ 𝕩`: Couple
Join `𝕨` and `𝕩` along a newly created axis.
-```
- 1 ≍ 3
-⟨ 1 3 ⟩
- 1‿2 ≍ 2‿3
-┌─
-╵ 1 2
- 2 3
- ┘
-``` \ No newline at end of file
+
+ 1 ≍ 3
+ ⟨ 1 3 ⟩
+ 1‿2 ≍ 2‿3
+ ┌─
+ ╵ 1 2
+ 2 3
+ ┘
+
diff --git a/help/≠length notequal.md b/help/≠length notequal.md
index 770530e6..e5696435 100644
--- a/help/≠length notequal.md
+++ b/help/≠length notequal.md
@@ -1,30 +1,32 @@
-Not Equal (`≠`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/≠length notequal.html).*
+
+# Not Equal (`≠`)
`≠ 𝕩`: Length
Length of the first dimension of `𝕩`.
-```
- ≠ 3
-1
- ≠ ⟨1, 2, 3⟩
-3
- ≠ 3‿4‿5⥊0
-3
- ≠ 1‿4‿5⥊0
-1
- ≠ 4‿4‿5⥊0
-4
-```
+
+ ≠ 3
+ 1
+ ≠ ⟨1, 2, 3⟩
+ 3
+ ≠ 3‿4‿5⥊0
+ 3
+ ≠ 1‿4‿5⥊0
+ 1
+ ≠ 4‿4‿5⥊0
+ 4
+
`𝕨 ≠ 𝕩`: Not Equal To
[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
-```
- 1 ≠ 3
-1
- 2‿3‿0 ≠ 3‿1‿0
-⟨ 1 1 0 ⟩
- 'a' ≠ 'a'
-0
-``` \ No newline at end of file
+
+ 1 ≠ 3
+ 1
+ 2‿3‿0 ≠ 3‿1‿0
+ ⟨ 1 1 0 ⟩
+ 'a' ≠ 'a'
+ 0
+
diff --git a/help/≡depth match.md b/help/≡depth match.md
index 0575adef..32d8960b 100644
--- a/help/≡depth match.md
+++ b/help/≡depth match.md
@@ -1,23 +1,25 @@
-Identical To (`≡`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/≡depth match.html).*
+
+# Identical To (`≡`)
`≡ 𝕩`: Depth
Highest level of nesting in `𝕩`.
-```
- ≡ 2‿3‿4
-1
- ≡ ⟨2,<3,4,<<<5⟩
-4
- ≡ 9
-0
-```
+
+ ≡ 2‿3‿4
+ 1
+ ≡ ⟨2,<3,4,<<<5⟩
+ 4
+ ≡ 9
+ 0
+
`𝕨 ≡ 𝕩`: Match
Does `𝕨` exactly match `𝕩`?
-```
- 1 ≡ ⟨1⟩
-0
- ⟨1⟩ ≡ ⟨1⟩
-1
-``` \ No newline at end of file
+
+ 1 ≡ ⟨1⟩
+ 0
+ ⟨1⟩ ≡ ⟨1⟩
+ 1
+
diff --git a/help/≢shape notmatch.md b/help/≢shape notmatch.md
index 50e18f9e..826aa2f4 100644
--- a/help/≢shape notmatch.md
+++ b/help/≢shape notmatch.md
@@ -1,23 +1,25 @@
-Not Identical To (`≢`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/≢shape notmatch.html).*
+
+# Not Identical To (`≢`)
`≢ 𝕩`: Shape
Length of each dimension of x.
-```
- ≢ 1
-⟨⟩
- ≢ 1‿2
-⟨ 2 ⟩
- ≢ 1‿2 ≍ 3‿4
-⟨ 2 2 ⟩
-```
+
+ ≢ 1
+ ⟨⟩
+ ≢ 1‿2
+ ⟨ 2 ⟩
+ ≢ 1‿2 ≍ 3‿4
+ ⟨ 2 2 ⟩
+
`𝕨 ≢ 𝕩`: Not Match
Does `𝕨` not exactly match `𝕩`?
-```
- 1 ≢ ⟨1⟩
-1
- ⟨1⟩ ≢ ⟨1⟩
-0
-``` \ No newline at end of file
+
+ 1 ≢ ⟨1⟩
+ 1
+ ⟨1⟩ ≢ ⟨1⟩
+ 0
+
diff --git a/help/≤lessequal.md b/help/≤lessequal.md
index 8005681b..35e3bbef 100644
--- a/help/≤lessequal.md
+++ b/help/≤lessequal.md
@@ -1,13 +1,15 @@
-Lesser Than or Equal To (`≤`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/≤lessequal.html).*
+
+# Lesser Than or Equal To (`≤`)
`𝕨 ≤ 𝕩`: Lesser Than or Equal To
`𝕨` and `𝕩` can both be either numbers or characters.
[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
-```
- 1 ≤ 3
-1
- 2‿3‿0 ≤ 3‿1‿0
-⟨ 1 0 1 ⟩
-``` \ No newline at end of file
+
+ 1 ≤ 3
+ 1
+ 2‿3‿0 ≤ 3‿1‿0
+ ⟨ 1 0 1 ⟩
+
diff --git a/help/≥greatequal.md b/help/≥greatequal.md
index 3b4e9cf9..129478a9 100644
--- a/help/≥greatequal.md
+++ b/help/≥greatequal.md
@@ -1,13 +1,15 @@
-Greater Than or Equal To (`≥`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/≥greatequal.html).*
+
+# Greater Than or Equal To (`≥`)
`𝕨 ≥ 𝕩`: Greater Than or Equal To
`𝕨` and `𝕩` can both be either numbers or characters.
[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
-```
- 1 ≥ 3
-0
- 2‿3‿0 ≥ 3‿1‿0
-⟨ 0 1 1 ⟩
-``` \ No newline at end of file
+
+ 1 ≥ 3
+ 0
+ 2‿3‿0 ≥ 3‿1‿0
+ ⟨ 0 1 1 ⟩
+
diff --git a/help/⊏firstcell select.md b/help/⊏firstcell select.md
index 33d0d2f6..e1f41e98 100644
--- a/help/⊏firstcell select.md
+++ b/help/⊏firstcell select.md
@@ -1,38 +1,40 @@
-Square Image Of (`⊏`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/⊏firstcell select.html).*
+
+# Square Image Of (`⊏`)
`⊏ 𝕩`: First Cell
First major cell of `𝕩`.
-```
- ⊏ ⟨1, 2, 3⟩
-┌·
-· 1
- ┘
- a ← 3‿3 ⥊ ↕9
-┌─
-╵ 0 1 2
- 3 4 5
- 6 7 8
+
+ ⊏ ⟨1, 2, 3⟩
+ ┌·
+ · 1
- ⊏ a
-⟨ 0 1 2 ⟩
-```
+ a ← 3‿3 ⥊ ↕9
+ ┌─
+ ╵ 0 1 2
+ 3 4 5
+ 6 7 8
+ ┘
+ ⊏ a
+ ⟨ 0 1 2 ⟩
+
`𝕨 ⊏ 𝕩`: Select
Select the major cells of `𝕨` at the indices in `𝕩`.
-```
- 2‿0 ⊏ ⟨1, 2, 3⟩
-⟨ 3 1 ⟩
- a ← 3‿3 ⥊ ↕9
-┌─
-╵ 0 1 2
- 3 4 5
- 6 7 8
- ┘
- 2‿0 ⊏ a
-┌─
-╵ 6 7 8
- 0 1 2
- ┘
-``` \ No newline at end of file
+
+ 2‿0 ⊏ ⟨1, 2, 3⟩
+ ⟨ 3 1 ⟩
+ a ← 3‿3 ⥊ ↕9
+ ┌─
+ ╵ 0 1 2
+ 3 4 5
+ 6 7 8
+ ┘
+ 2‿0 ⊏ a
+ ┌─
+ ╵ 6 7 8
+ 0 1 2
+ ┘
+
diff --git a/help/⊐classify indexof.md b/help/⊐classify indexof.md
index b4605a59..b7fe2072 100644
--- a/help/⊐classify indexof.md
+++ b/help/⊐classify indexof.md
@@ -1,37 +1,39 @@
-Square Original Of (`⊐`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/⊐classify indexof.html).*
+
+# Square Original Of (`⊐`)
`⊐ 𝕩`: Classify
First index of each major cell of `𝕩` in `𝕩`.
-```
- ⊐ 5‿6‿2‿2‿5‿1
-⟨ 0 1 2 2 0 3 ⟩
- a ← 3‿3 ⥊ 0‿1‿2‿9‿0‿9‿0‿1‿2
-┌─
-╵ 0 1 2
- 9 0 9
- 0 1 2
- ┘
- ⊐ a
-⟨ 0 1 0 ⟩
-```
+
+ ⊐ 5‿6‿2‿2‿5‿1
+ ⟨ 0 1 2 2 0 3 ⟩
+ a ← 3‿3 ⥊ 0‿1‿2‿9‿0‿9‿0‿1‿2
+ ┌─
+ ╵ 0 1 2
+ 9 0 9
+ 0 1 2
+ ┘
+ ⊐ a
+ ⟨ 0 1 0 ⟩
+
`𝕨 ⊐ 𝕩`: Index Of
First index of each major cell of `𝕩` in `𝕨`. Rank of `𝕩` must be at least cell rank of 𝕨`.
If a cell is not found in `𝕨`, that position will contain the length of `𝕨` (`≠𝕨`).
-```
- 5‿6‿2‿2‿5‿1 ⊐ 5‿2‿1‿6
-⟨ 0 2 5 1 ⟩
- a ← 3‿3 ⥊ 0‿1‿2‿9‿0‿9‿0‿1‿2
-┌─
-╵ 0 1 2
- 9 0 9
- 0 1 2
+
+ 5‿6‿2‿2‿5‿1 ⊐ 5‿2‿1‿6
+ ⟨ 0 2 5 1 ⟩
+ a ← 3‿3 ⥊ 0‿1‿2‿9‿0‿9‿0‿1‿2
+ ┌─
+ ╵ 0 1 2
+ 9 0 9
+ 0 1 2
+ ┘
+ a ⊐ ⟨9‿0‿9⟩
+ ┌·
+ · 3
- a ⊐ ⟨9‿0‿9⟩
-┌·
-· 3
- ┘
-``` \ No newline at end of file
+
diff --git a/help/⊑first pick.md b/help/⊑first pick.md
index 0a4232fa..8023466c 100644
--- a/help/⊑first pick.md
+++ b/help/⊑first pick.md
@@ -1,33 +1,35 @@
-Square Image Of Or Equal To (`⊑`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/⊑first pick.html).*
+
+# Square Image Of Or Equal To (`⊑`)
`⊑ 𝕩`: First
First element of `𝕩`.
-```
- ⊑ ⟨1, 2, 3⟩
-1
- a ← 3‿3 ⥊ ↕9
-┌─
-╵ 0 1 2
- 3 4 5
- 6 7 8
- ┘
- ⊑ a
-0
-```
+
+ ⊑ ⟨1, 2, 3⟩
+ 1
+ a ← 3‿3 ⥊ ↕9
+ ┌─
+ ╵ 0 1 2
+ 3 4 5
+ 6 7 8
+ ┘
+ ⊑ a
+ 0
+
`𝕨 ⊑ 𝕩`: Pick
Pick the element of `𝕨` at index `𝕩`.
-```
- 2 ⊑ ⟨1, 2, 3⟩
-3
- a ← 3‿3 ⥊ ↕9
-┌─
-╵ 0 1 2
- 3 4 5
- 6 7 8
- ┘
- 2‿0 ⊑ a
-6
-``` \ No newline at end of file
+
+ 2 ⊑ ⟨1, 2, 3⟩
+ 3
+ a ← 3‿3 ⥊ ↕9
+ ┌─
+ ╵ 0 1 2
+ 3 4 5
+ 6 7 8
+ ┘
+ 2‿0 ⊑ a
+ 6
+
diff --git a/help/⊒occcount progindex.md b/help/⊒occcount progindex.md
index 277fd6ac..6ac22c80 100644
--- a/help/⊒occcount progindex.md
+++ b/help/⊒occcount progindex.md
@@ -1,24 +1,26 @@
-Square Original Of or Equal To (`⊒`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/⊒occcount progindex.html).*
+
+# Square Original Of or Equal To (`⊒`)
`⊒ 𝕩`: Occurrence Count
Number of times each major cell of `𝕩` appears before itself.
-```
- ⊒ 2‿7‿1‿8‿1‿7‿1‿8‿2‿8‿4
-⟨ 0 0 0 0 1 1 2 1 1 2 0 ⟩
- ≍⟜⊒ 2‿7‿1‿8‿1‿7‿1‿8‿2‿8‿4
-┌─
-╵ 2 7 1 8 1 7 1 8 2 8 4
- 0 0 0 0 1 1 2 1 1 2 0
- ┘
-```
+
+ ⊒ 2‿7‿1‿8‿1‿7‿1‿8‿2‿8‿4
+ ⟨ 0 0 0 0 1 1 2 1 1 2 0 ⟩
+ ≍⟜⊒ 2‿7‿1‿8‿1‿7‿1‿8‿2‿8‿4
+ ┌─
+ ╵ 2 7 1 8 1 7 1 8 2 8 4
+ 0 0 0 0 1 1 2 1 1 2 0
+ ┘
+
`𝕨 ⊒ 𝕩`: Progressive Index Of
Index of the first unused match of each major cell of `𝕩` in `𝕨`. If there are no more matches left, length of `𝕨` is placed in that position.
-```
- "aaa" ⊒ "aaaaa"
-⟨ 0 1 2 3 3 ⟩
- "aaabb" ⊒ "ababababab"
-⟨ 0 3 1 4 2 5 5 5 5 5 ⟩
-``` \ No newline at end of file
+
+ "aaa" ⊒ "aaaaa"
+ ⟨ 0 1 2 3 3 ⟩
+ "aaabb" ⊒ "ababababab"
+ ⟨ 0 3 1 4 2 5 5 5 5 5 ⟩
+
diff --git a/help/⊔groupindices group.md b/help/⊔groupindices group.md
index 172fe0f5..689ed6c1 100644
--- a/help/⊔groupindices group.md
+++ b/help/⊔groupindices group.md
@@ -1,19 +1,21 @@
-Square Cup (`⊔`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/⊔groupindices group.html).*
+
+# Square Cup (`⊔`)
`⊔ 𝕩`: Group Indices
Group the indices of the major cells of `𝕩` by their respective values.
`𝕩` must consist of integers. Groups start from 0.
-```
- ⊔ 4‿5‿6‿6‿4‿7‿5
-⟨ ⟨⟩ ⟨⟩ ⟨⟩ ⟨⟩ ⟨ 0 4 ⟩ ⟨ 1 6 ⟩ ⟨ 2 3 ⟩ ⟨ 5 ⟩ ⟩
- (↕8) ≍ ⊔ 4‿5‿6‿6‿4‿7‿5
-┌─
-╵ 0 1 2 3 4 5 6 7
- ⟨⟩ ⟨⟩ ⟨⟩ ⟨⟩ ⟨ 0 4 ⟩ ⟨ 1 6 ⟩ ⟨ 2 3 ⟩ ⟨ 5 ⟩
- ┘
-```
+
+ ⊔ 4‿5‿6‿6‿4‿7‿5
+ ⟨ ⟨⟩ ⟨⟩ ⟨⟩ ⟨⟩ ⟨ 0 4 ⟩ ⟨ 1 6 ⟩ ⟨ 2 3 ⟩ ⟨ 5 ⟩ ⟩
+ (↕8) ≍ ⊔ 4‿5‿6‿6‿4‿7‿5
+ ┌─
+ ╵ 0 1 2 3 4 5 6 7
+ ⟨⟩ ⟨⟩ ⟨⟩ ⟨⟩ ⟨ 0 4 ⟩ ⟨ 1 6 ⟩ ⟨ 2 3 ⟩ ⟨ 5 ⟩
+ ┘
+
`𝕨 ⊔ 𝕩`: Group
@@ -22,11 +24,11 @@ Group the major cells of `𝕩` by their respective indices in `𝕨`.
If an element corresponds to `¯1`, it is excluded from grouping.
An extra element can be added to the end of `𝕨` to specify length of the result.
-```
- 1‿0‿1‿2‿2‿3‿3 ⊔ 4‿5‿6‿6‿4‿7‿5
-⟨ ⟨ 5 ⟩ ⟨ 4 6 ⟩ ⟨ 6 4 ⟩ ⟨ 7 5 ⟩ ⟩
- 1‿0‿1‿¯1‿¯1‿3‿3 ⊔ 4‿5‿6‿6‿4‿7‿5
-⟨ ⟨ 5 ⟩ ⟨ 4 6 ⟩ ⟨⟩ ⟨ 7 5 ⟩ ⟩
- 1‿0‿1‿¯1‿¯1‿3‿3‿10 ⊔ 4‿5‿6‿6‿4‿7‿5
-⟨ ⟨ 5 ⟩ ⟨ 4 6 ⟩ ⟨⟩ ⟨ 7 5 ⟩ ⟨⟩ ⟨⟩ ⟨⟩ ⟨⟩ ⟨⟩ ⟨⟩ ⟩
-``` \ No newline at end of file
+
+ 1‿0‿1‿2‿2‿3‿3 ⊔ 4‿5‿6‿6‿4‿7‿5
+ ⟨ ⟨ 5 ⟩ ⟨ 4 6 ⟩ ⟨ 6 4 ⟩ ⟨ 7 5 ⟩ ⟩
+ 1‿0‿1‿¯1‿¯1‿3‿3 ⊔ 4‿5‿6‿6‿4‿7‿5
+ ⟨ ⟨ 5 ⟩ ⟨ 4 6 ⟩ ⟨⟩ ⟨ 7 5 ⟩ ⟩
+ 1‿0‿1‿¯1‿¯1‿3‿3‿10 ⊔ 4‿5‿6‿6‿4‿7‿5
+ ⟨ ⟨ 5 ⟩ ⟨ 4 6 ⟩ ⟨⟩ ⟨ 7 5 ⟩ ⟨⟩ ⟨⟩ ⟨⟩ ⟨⟩ ⟨⟩ ⟨⟩ ⟩
+
diff --git a/help/⊘valences.md b/help/⊘valences.md
index 3caca9a6..d1079210 100644
--- a/help/⊘valences.md
+++ b/help/⊘valences.md
@@ -1,21 +1,23 @@
-Circled Division Slash (`⊘`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/⊘valences.html).*
+
+# Circled Division Slash (`⊘`)
`𝔽⊘𝔾 𝕩`: Valences
Apply `𝔽` to `𝕩`.
-```
- +⊘- 5
-5
- -⊘+ 5
-¯5
-```
+
+ +⊘- 5
+ 5
+ -⊘+ 5
+ ¯5
+
`𝕨 𝔽⊘𝔾 𝕩`: Valences
Apply `𝔾` to `𝕨` and `𝕩`.
-```
- 4 +⊘- 5
-¯1
- 4 -⊘+ 5
-9
-``` \ No newline at end of file
+
+ 4 +⊘- 5
+ ¯1
+ 4 -⊘+ 5
+ 9
+
diff --git a/help/⊢identity right.md b/help/⊢identity right.md
index 4870b9eb..2edca7c5 100644
--- a/help/⊢identity right.md
+++ b/help/⊢identity right.md
@@ -1,19 +1,21 @@
-Right Tack (`⊢`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/⊢identity right.html).*
+
+# Right Tack (`⊢`)
`⊢ 𝕩`:
Return `𝕩`.
-```
- ⊢ 5
-5
-```
+
+ ⊢ 5
+ 5
+
`𝕨 ⊢ 𝕩`: Right
Return `𝕩`.
-```
- 5 ⊢ 8
-8
- 'a' ⊢ 1‿2‿3
-⟨ 1 2 3 ⟩
-``` \ No newline at end of file
+
+ 5 ⊢ 8
+ 8
+ 'a' ⊢ 1‿2‿3
+ ⟨ 1 2 3 ⟩
+
diff --git a/help/⊣identity left.md b/help/⊣identity left.md
index 614c4f2a..2af385a6 100644
--- a/help/⊣identity left.md
+++ b/help/⊣identity left.md
@@ -1,19 +1,21 @@
-Left Tack (`⊣`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/⊣identity left.html).*
+
+# Left Tack (`⊣`)
`⊣ 𝕩`:
Return `𝕩`.
-```
- ⊣ 5
-5
-```
+
+ ⊣ 5
+ 5
+
`𝕨 ⊣ 𝕩`: Left
Return `𝕨`.
-```
- 5 ⊣ 8
-5
- 'a' ⊣ 1‿2‿3
-'a'
-``` \ No newline at end of file
+
+ 5 ⊣ 8
+ 5
+ 'a' ⊣ 1‿2‿3
+ 'a'
+
diff --git a/help/⊸before bindleft.md b/help/⊸before bindleft.md
index 461c0167..0dfe86e5 100644
--- a/help/⊸before bindleft.md
+++ b/help/⊸before bindleft.md
@@ -1,41 +1,43 @@
-Multimap (`⊸`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/⊸before bindleft.html).*
+
+# Multimap (`⊸`)
`𝕗⊸𝔾 𝕩`: Bind Left
Supply `𝕗` as a left argument to `𝔾` (`𝕗 𝔾 𝕩`).
`𝕗` must be a value, `𝔾` must be dyadic.
-```
- 3⊸- 9
-¯6
- 3 - 9
-¯6
-```
+
+ 3⊸- 9
+ ¯6
+ 3 - 9
+ ¯6
+
`𝔽⊸𝔾 𝕩`: Before
Apply `𝔽` to `𝕩`, and supply it as a left argument to `𝔾` (`(𝔽 𝕩) 𝔾 𝕩`).
`𝔽` must be monadic, `𝔾` must be dyadic.
-```
- -⊸+ 9
-0
- - + 9
-¯9
- (- 9) + 9
-0
-```
+
+ -⊸+ 9
+ 0
+ - + 9
+ ¯9
+ (- 9) + 9
+ 0
+
`𝕨 𝔽⊸𝔾 𝕩`: Dyadic Before
Apply `𝔽` to `𝕨`, and supply it as a left argument to `𝔾` (`(𝔽 𝕨) 𝔾 𝕩`).
`𝔽` must be monadic, `𝔾` must be dyadic.
-```
- 2 -⊸+ 1
-¯1
- 2 - + 1
-1
- (- 2) + 1
-¯1
-``` \ No newline at end of file
+
+ 2 -⊸+ 1
+ ¯1
+ 2 - + 1
+ 1
+ (- 2) + 1
+ ¯1
+
diff --git a/help/⋆exponential power.md b/help/⋆exponential power.md
index 9420bcbf..51a16e05 100644
--- a/help/⋆exponential power.md
+++ b/help/⋆exponential power.md
@@ -1,25 +1,27 @@
-Star (`⋆`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/⋆exponential power.html).*
+
+# Star (`⋆`)
`⋆ 𝕩`: Exponential
`e` (Euler's constant) to the power of `𝕩`.
[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
-```
- ⋆ 0‿1‿2‿3
-⟨ 1 2.718281828459045 7.38905609893065 20.085536923187668 ⟩
-```
+
+ ⋆ 0‿1‿2‿3
+ ⟨ 1 2.718281828459045 7.38905609893065 20.085536923187668 ⟩
+
`𝕨 ⋆ 𝕩`: Power
`𝕨` to the power of `𝕩`.
[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
-```
- 2 ⋆ 5
-32
- 8‿5‿9 ⋆ 2
-⟨ 64 25 81 ⟩
- 2‿3 ⋆ 3‿¯4
-⟨ 8 0.012345679012345678 ⟩
-``` \ No newline at end of file
+
+ 2 ⋆ 5
+ 32
+ 8‿5‿9 ⋆ 2
+ ⟨ 64 25 81 ⟩
+ 2‿3 ⋆ 3‿¯4
+ ⟨ 8 0.012345679012345678 ⟩
+
diff --git a/help/⋈enlist pair.md b/help/⋈enlist pair.md
index 98407d47..da631346 100644
--- a/help/⋈enlist pair.md
+++ b/help/⋈enlist pair.md
@@ -1,36 +1,38 @@
-Bow Tie (`⋈`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/⋈enlist pair.html).*
+
+# Bow Tie (`⋈`)
`⋈ 𝕩`: Enlist
Put `𝕩` in a single element list. (`⟨𝕩⟩`)
-```
- ⋈ 1
-⟨ 1 ⟩
- ⋈ 4‿4 ⥊ 3‿67‿8‿0
-┌─
-· ┌─
- ╵ 3 67 8 0
- 3 67 8 0
- 3 67 8 0
- 3 67 8 0
- ┘
- ┘
-```
+
+ ⋈ 1
+ ⟨ 1 ⟩
+ ⋈ 4‿4 ⥊ 3‿67‿8‿0
+ ┌─
+ · ┌─
+ ╵ 3 67 8 0
+ 3 67 8 0
+ 3 67 8 0
+ 3 67 8 0
+ ┘
+ ┘
+
`𝕨 ⋈ 𝕩`: Pair
Put `𝕨` and `𝕩` in a two element list. (`⟨𝕨, 𝕩⟩`)
-```
- 1 ⋈ 2
-⟨ 1 2 ⟩
- 1 ⋈ "dsdasdas"
-⟨ 1 "dsdasdas" ⟩
- (3‿3 ⥊ 3) ⋈ 67‿'a'‿"example"
-┌─
-· ┌─ ⟨ 67 'a' "example" ⟩
- ╵ 3 3 3
- 3 3 3
- 3 3 3
- ┘
- ┘
-``` \ No newline at end of file
+
+ 1 ⋈ 2
+ ⟨ 1 2 ⟩
+ 1 ⋈ "dsdasdas"
+ ⟨ 1 "dsdasdas" ⟩
+ (3‿3 ⥊ 3) ⋈ 67‿'a'‿"example"
+ ┌─
+ · ┌─ ⟨ 67 'a' "example" ⟩
+ ╵ 3 3 3
+ 3 3 3
+ 3 3 3
+ ┘
+ ┘
+
diff --git a/help/⌈ceiling maximum.md b/help/⌈ceiling maximum.md
index 3b956e9d..13bff822 100644
--- a/help/⌈ceiling maximum.md
+++ b/help/⌈ceiling maximum.md
@@ -1,23 +1,25 @@
-Left Ceiling (`⌈`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/⌈ceiling maximum.html).*
+
+# Left Ceiling (`⌈`)
`⌈ 𝕩`: Ceiling
Round `𝕩` up.
[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
-```
- ⌈ 1.2‿π‿3‿7.89
-⟨ 2 4 3 8 ⟩
-```
+
+ ⌈ 1.2‿π‿3‿7.89
+ ⟨ 2 4 3 8 ⟩
+
`𝕨 ⌈ 𝕩`: Maximum
Maximum of `𝕨` and `𝕩`.
[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
-```
- 1 ⌈ 2
-2
- 2‿3 ⌈ 4‿2
-⟨ 4 3 ⟩
-``` \ No newline at end of file
+
+ 1 ⌈ 2
+ 2
+ 2‿3 ⌈ 4‿2
+ ⟨ 4 3 ⟩
+
diff --git a/help/⌊floor minimum.md b/help/⌊floor minimum.md
index a08d2da4..8075e901 100644
--- a/help/⌊floor minimum.md
+++ b/help/⌊floor minimum.md
@@ -1,23 +1,25 @@
-Left Floor (`⌊`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/⌊floor minimum.html).*
+
+# Left Floor (`⌊`)
`⌊ 𝕩`: Floor
Round `𝕩` down.
[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
-```
- ⌊ 1.2‿π‿3‿7.89
-⟨ 1 3 3 7 ⟩
-```
+
+ ⌊ 1.2‿π‿3‿7.89
+ ⟨ 1 3 3 7 ⟩
+
`𝕨 ⌊ 𝕩`: Minimum
Minimum of `𝕨` and `𝕩`.
[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
-```
- 1 ⌊ 2
-1
- 2‿3 ⌊ 4‿2
-⟨ 2 2 ⟩
-``` \ No newline at end of file
+
+ 1 ⌊ 2
+ 1
+ 2‿3 ⌊ 4‿2
+ ⟨ 2 2 ⟩
+
diff --git a/help/⌜table.md b/help/⌜table.md
index 65ebe6c8..6d7727fc 100644
--- a/help/⌜table.md
+++ b/help/⌜table.md
@@ -1,20 +1,22 @@
-Top Left Corner (`⌜`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/⌜table.html).*
+
+# Top Left Corner (`⌜`)
`𝕨 𝔽⌜ 𝕩`: Each
Apply `𝔽` between every possible pair of the elements of the arguments.
-```
- 1‿2‿3‿4 +⌜ 4‿5‿6‿7
-┌─
-╵ 5 6 7 8
- 6 7 8 9
- 7 8 9 10
- 8 9 10 11
- ┘
- "abc" ∾⌜ "xyz"
-┌─
-╵ "ax" "ay" "az"
- "bx" "by" "bz"
- "cx" "cy" "cz"
- ┘
-``` \ No newline at end of file
+
+ 1‿2‿3‿4 +⌜ 4‿5‿6‿7
+ ┌─
+ ╵ 5 6 7 8
+ 6 7 8 9
+ 7 8 9 10
+ 8 9 10 11
+ ┘
+ "abc" ∾⌜ "xyz"
+ ┌─
+ ╵ "ax" "ay" "az"
+ "bx" "by" "bz"
+ "cx" "cy" "cz"
+ ┘
+
diff --git a/help/⌽reverse rotate.md b/help/⌽reverse rotate.md
index f8ed52d0..f451d266 100644
--- a/help/⌽reverse rotate.md
+++ b/help/⌽reverse rotate.md
@@ -1,41 +1,43 @@
-Circle Stile (`⌽`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/⌽reverse rotate.html).*
+
+# Circle Stile (`⌽`)
`⌽ 𝕩`: Reverse
Reverse the first axis of `𝕩`.
-```
- ⌽ 1‿2‿3
-⟨ 3 2 1 ⟩
- a ← 3‿3 ⥊ ↕9
-┌─
-╵ 0 1 2
- 3 4 5
- 6 7 8
- ┘
- ⌽ a
-┌─
-╵ 6 7 8
- 3 4 5
- 0 1 2
- ┘
-```
+
+ ⌽ 1‿2‿3
+ ⟨ 3 2 1 ⟩
+ a ← 3‿3 ⥊ ↕9
+ ┌─
+ ╵ 0 1 2
+ 3 4 5
+ 6 7 8
+ ┘
+ ⌽ a
+ ┌─
+ ╵ 6 7 8
+ 3 4 5
+ 0 1 2
+ ┘
+
`𝕨 ⌽ 𝕩`: Dyad
Move the first `𝕨` elements of `𝕩` to its end. Negative `𝕨` reverses the direction of rotation.
-```
- 2 ⌽ 1‿2‿3
-⟨ 3 1 2 ⟩
- a ← 3‿3 ⥊ ↕9
-┌─
-╵ 0 1 2
- 3 4 5
- 6 7 8
- ┘
- 2 ⌽ a
-┌─
-╵ 6 7 8
- 0 1 2
- 3 4 5
- ┘
-``` \ No newline at end of file
+
+ 2 ⌽ 1‿2‿3
+ ⟨ 3 1 2 ⟩
+ a ← 3‿3 ⥊ ↕9
+ ┌─
+ ╵ 0 1 2
+ 3 4 5
+ 6 7 8
+ ┘
+ 2 ⌽ a
+ ┌─
+ ╵ 6 7 8
+ 0 1 2
+ 3 4 5
+ ┘
+
diff --git a/help/⌾under.md b/help/⌾under.md
index c7678087..8a70afe9 100644
--- a/help/⌾under.md
+++ b/help/⌾under.md
@@ -1,4 +1,6 @@
-Circle Jot (`⌾`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/⌾under.html).*
+
+# Circle Jot (`⌾`)
`𝔽⌾𝔾 𝕩`, `𝕨 𝔽⌾𝔾 𝕩`: Under
@@ -10,11 +12,11 @@ Where `𝔾` must be
1. A function invertible by `⁼` (Undo)
2. A structural modification
-```
- 9⌾(1⊸⊑) 1‿2‿3
-⟨ 1 9 3 ⟩
- √⁼ (√1) + (√9)
-16
- 1 +⌾√ 9
-16
-``` \ No newline at end of file
+
+ 9⌾(1⊸⊑) 1‿2‿3
+ ⟨ 1 9 3 ⟩
+ √⁼ (√1) + (√9)
+ 16
+ 1 +⌾√ 9
+ 16
+
diff --git a/help/⍉transpose dyadtranspose.md b/help/⍉transpose dyadtranspose.md
index da7f058f..b8641803 100644
--- a/help/⍉transpose dyadtranspose.md
+++ b/help/⍉transpose dyadtranspose.md
@@ -1,36 +1,38 @@
-Circle Backslash (`⍉`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/⍉transpose dyadtranspose.html).*
+
+# Circle Backslash (`⍉`)
`⍉ 𝕩`: Transpose
Move the first axis of `𝕩` to the end.
-```
- a ← 3‿3 ⥊ ↕9
-┌─
-╵ 0 1 2
- 3 4 5
- 6 7 8
- ┘
- ⍉ a
-┌─
-╵ 0 3 6
- 1 4 7
- 2 5 8
- ┘
- b ← 1‿2‿3 ⥊ ↕6
-┌─
-╎ 0 1 2
- 3 4 5
- ┘
- ≢⍉ b
-⟨ 2 3 1 ⟩
-```
+
+ a ← 3‿3 ⥊ ↕9
+ ┌─
+ ╵ 0 1 2
+ 3 4 5
+ 6 7 8
+ ┘
+ ⍉ a
+ ┌─
+ ╵ 0 3 6
+ 1 4 7
+ 2 5 8
+ ┘
+ b ← 1‿2‿3 ⥊ ↕6
+ ┌─
+ ╎ 0 1 2
+ 3 4 5
+ ┘
+ ≢⍉ b
+ ⟨ 2 3 1 ⟩
+
`𝕨 ⍉ 𝕩`: Dyad
Rearrange the axes of `𝕩` as per the axis indices in `𝕨`.
-```
- ≢ a ← 2‿3‿4‿5‿6 ⥊1
-⟨ 2 3 4 5 6 ⟩
- ≢ 1‿3‿2‿0‿4 ⍉ a
-⟨ 5 2 4 3 6 ⟩
-``` \ No newline at end of file
+
+ ≢ a ← 2‿3‿4‿5‿6 ⥊1
+ ⟨ 2 3 4 5 6 ⟩
+ ≢ 1‿3‿2‿0‿4 ⍉ a
+ ⟨ 5 2 4 3 6 ⟩
+
diff --git a/help/⍋gradeup binsup.md b/help/⍋gradeup binsup.md
index 1aee7730..c633a5d8 100644
--- a/help/⍋gradeup binsup.md
+++ b/help/⍋gradeup binsup.md
@@ -1,28 +1,30 @@
-Delta Stile (`⍋`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/⍋gradeup binsup.html).*
+
+# Delta Stile (`⍋`)
`⍋ 𝕩`: Grade Up
Indices of `𝕩` that would sort its major cells in ascending order.
-```
- a ← 3‿2‿1
-⟨ 3 2 1 ⟩
- ⍋ a
-⟨ 2 1 0 ⟩
- (⍋a) ⊏ a
-⟨ 1 2 3 ⟩
-
-```
+
+ a ← 3‿2‿1
+ ⟨ 3 2 1 ⟩
+ ⍋ a
+ ⟨ 2 1 0 ⟩
+ (⍋a) ⊏ a
+ ⟨ 1 2 3 ⟩
+
+
`𝕨 ⍋ 𝕩`: Bins Up
Binary search for each element of `𝕩` in `𝕨`, and return the index found, if any.
`𝕨` must be sorted in ascending order.
-```
- 3‿4‿5‿7 ⍋ 2
-┌·
-· 0
- ┘
- 3‿4‿5‿7 ⍋ 2‿6
-⟨ 0 3 ⟩
-``` \ No newline at end of file
+
+ 3‿4‿5‿7 ⍋ 2
+ ┌·
+ · 0
+ ┘
+ 3‿4‿5‿7 ⍋ 2‿6
+ ⟨ 0 3 ⟩
+
diff --git a/help/⍒gradedown binsdown.md b/help/⍒gradedown binsdown.md
index ed03f6f4..970fcce9 100644
--- a/help/⍒gradedown binsdown.md
+++ b/help/⍒gradedown binsdown.md
@@ -1,16 +1,18 @@
-Del Stile (`⍒`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/⍒gradedown binsdown.html).*
+
+# Del Stile (`⍒`)
`⍒ 𝕩`: Grade Down
Indices of `𝕩` that would sort its major cells in descending order.
-```
- a ← 1‿2‿3
-⟨ 1 2 3 ⟩
- ⍒ a
-⟨ 2 1 0 ⟩
- (⍒a) ⊏ a
-⟨ 3 2 1 ⟩
-```
+
+ a ← 1‿2‿3
+ ⟨ 1 2 3 ⟩
+ ⍒ a
+ ⟨ 2 1 0 ⟩
+ (⍒a) ⊏ a
+ ⟨ 3 2 1 ⟩
+
`𝕨 ⍒ 𝕩`: Bins Down
@@ -19,11 +21,11 @@ Binary search for each element of `𝕩` in `𝕨`, and return the index found,
`𝕨` must be sorted in descending order.
[Right Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
-```
- 7‿5‿4‿3 ⍒ 2
-┌·
-· 4
- ┘
- 7‿5‿4‿3 ⍒ 2‿6
-⟨ 4 1 ⟩
-``` \ No newline at end of file
+
+ 7‿5‿4‿3 ⍒ 2
+ ┌·
+ · 4
+ ┘
+ 7‿5‿4‿3 ⍒ 2‿6
+ ⟨ 4 1 ⟩
+
diff --git a/help/⍟repeat.md b/help/⍟repeat.md
index 922e57a2..9f190991 100644
--- a/help/⍟repeat.md
+++ b/help/⍟repeat.md
@@ -1,15 +1,17 @@
-Circle Star (`⍟`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/⍟repeat.html).*
+
+# Circle Star (`⍟`)
`𝔽⍟𝔾 𝕩`, `𝕨 𝔽⍟𝔾 𝕩`: Repeat
Apply `𝔾` to `𝕨` and `𝕩` and apply `𝔽` to `𝕩` that may times. If `𝕨` is given, keep it as a constant left argument.
If `𝔾` returns an array, give `𝔽⍟𝕩` for each element.
-```
- 1 +⍟⊢ 4
-8
- 1 +⍟1‿2‿3 4
-⟨ 5 6 7 ⟩
- 3 ∾⍟{≠𝕩} ⟨4,5,6⟩
-⟨ 3 3 3 4 5 6 ⟩
-``` \ No newline at end of file
+
+ 1 +⍟⊢ 4
+ 8
+ 1 +⍟1‿2‿3 4
+ ⟨ 5 6 7 ⟩
+ 3 ∾⍟{≠𝕩} ⟨4,5,6⟩
+ ⟨ 3 3 3 4 5 6 ⟩
+
diff --git a/help/⍷deduplicate find.md b/help/⍷deduplicate find.md
index ae314268..52c560bb 100644
--- a/help/⍷deduplicate find.md
+++ b/help/⍷deduplicate find.md
@@ -1,56 +1,58 @@
-Epsilon Underbar (`⍷`)
+*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
-⟨ 4 5 6 7 ⟩
- a ← 3‿3 ⥊ ↕6
-┌─
-╵ 0 1 2
- 3 4 5
- 0 1 2
- ┘
- ⍷ a
-┌─
-╵ 0 1 2
- 3 4 5
- ┘
-```
+
+ ⍷ 4‿5‿6‿6‿4‿7‿5
+ ⟨ 4 5 6 7 ⟩
+ a ← 3‿3 ⥊ ↕6
+ ┌─
+ ╵ 0 1 2
+ 3 4 5
+ 0 1 2
+ ┘
+ ⍷ a
+ ┌─
+ ╵ 0 1 2
+ 3 4 5
+ ┘
+
`𝕨 ⍷ 𝕩`: 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"
-⟨ 0 0 0 1 ⟩
- "loooooong" ⍷ "short"
-⟨⟩
- a ← 7 (4|⋆˜)⌜○↕ 9
-┌─
-╵ 1 1 1 1 1 1 1 1 1
- 0 1 2 3 0 1 2 3 0
- 0 1 0 1 0 1 0 1 0
- 0 1 0 3 0 1 0 3 0
- 0 1 0 1 0 1 0 1 0
- 0 1 0 3 0 1 0 3 0
- 0 1 0 1 0 1 0 1 0
+
+ "string" ⍷ "substring"
+ ⟨ 0 0 0 1 ⟩
+ "loooooong" ⍷ "short"
+ ⟨⟩
+ a ← 7 (4|⋆˜)⌜○↕ 9
+ ┌─
+ ╵ 1 1 1 1 1 1 1 1 1
+ 0 1 2 3 0 1 2 3 0
+ 0 1 0 1 0 1 0 1 0
+ 0 1 0 3 0 1 0 3 0
+ 0 1 0 1 0 1 0 1 0
+ 0 1 0 3 0 1 0 3 0
+ 0 1 0 1 0 1 0 1 0
+ ┘
+ b ← (0‿3‿0≍0‿1‿0)
+ ┌─
+ ╵ 0 3 0
+ 0 1 0
+ ┘
+ b ⍷ a
+ ┌─
+ ╵ 0 0 0 0 0 0 0
+ 0 0 0 0 0 0 0
+ 0 0 0 0 0 0 0
+ 0 0 1 0 0 0 1
+ 0 0 0 0 0 0 0
+ 0 0 1 0 0 0 1
- b ← (0‿3‿0≍0‿1‿0)
-┌─
-╵ 0 3 0
- 0 1 0
- ┘
- b ⍷ a
-┌─
-╵ 0 0 0 0 0 0 0
- 0 0 0 0 0 0 0
- 0 0 0 0 0 0 0
- 0 0 1 0 0 0 1
- 0 0 0 0 0 0 0
- 0 0 1 0 0 0 1
- ┘
-``` \ No newline at end of file
+
diff --git a/help/⎉rank.md b/help/⎉rank.md
index 645b0aaf..153f1839 100644
--- a/help/⎉rank.md
+++ b/help/⎉rank.md
@@ -1,4 +1,6 @@
-Circled Horizontal Bar With Notch (`⎉`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/⎉rank.html).*
+
+# Circled Horizontal Bar With Notch (`⎉`)
`𝔽⎉𝕘 𝕩`, `𝕨 𝔽⎉𝕘 𝕩`: Rank
@@ -10,27 +12,27 @@ The ranks applied are given by the following:
- `⎉ b‿c` ⍝ Rank-b cells of `𝕨` and rank-c cells of `𝕩` (dyadic)
- `⎉ a‿b‿c` ⍝ Rank-a cells of `𝕩` (monadic), b-cells of `𝕨` and c-cells of `𝕩` (dyadic)
-```
- a ← 3‿2‿4⥊"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
-┌─
-╎"ABCD
- EFGH
-
- ·IJKL
- MNOP
-
- ·QRST
- UVWX"
- ┘
- ⌽⎉2 a
-┌─
-╎"EFGH
- ABCD
-
- ·MNOP
- IJKL
-
- ·UVWX
- QRST"
- ┘
-``` \ No newline at end of file
+
+ a ← 3‿2‿4⥊"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
+ ┌─
+ ╎"ABCD
+ EFGH
+
+ ·IJKL
+ MNOP
+
+ ·QRST
+ UVWX"
+ ┘
+ ⌽⎉2 a
+ ┌─
+ ╎"EFGH
+ ABCD
+
+ ·MNOP
+ IJKL
+
+ ·UVWX
+ QRST"
+ ┘
+
diff --git a/help/⎊catch.md b/help/⎊catch.md
index 8f7c680f..9f95659c 100644
--- a/help/⎊catch.md
+++ b/help/⎊catch.md
@@ -1,4 +1,6 @@
-Circled Triangle Down (`⎊`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/⎊catch.html).*
+
+# Circled Triangle Down (`⎊`)
`𝔽⎊𝔾 𝕩`, `𝕨 𝔽⎊𝔾 𝕩`: Catch
@@ -7,9 +9,9 @@ Apply `𝔽` to the arguments.
If an error happens when `𝔽` is applied, cancel its execution, apply `𝔾` to the arguments and return the results.
Otherwise, return the results of `𝔽`.
-```
- ∾⎊{"error occurred with argument: "∾•Fmt 𝕩} 1
-"error occurred with argument: 1"
- ∾⎊{"error occurred with argument: "∾•Fmt 𝕩} ⟨⟨1,2⟩, ⟨3,4⟩⟩
-⟨ 1 2 3 4 ⟩
-``` \ No newline at end of file
+
+ ∾⎊{"error occurred with argument: "∾•Fmt 𝕩} 1
+ "error occurred with argument: 1"
+ ∾⎊{"error occurred with argument: "∾•Fmt 𝕩} ⟨⟨1,2⟩, ⟨3,4⟩⟩
+ ⟨ 1 2 3 4 ⟩
+
diff --git a/help/○over.md b/help/○over.md
index 98082965..0c84d9bc 100644
--- a/help/○over.md
+++ b/help/○over.md
@@ -1,27 +1,29 @@
-Circle (`○`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/○over.html).*
+
+# Circle (`○`)
`𝔽○𝔾 𝕩`: Atop
Apply `𝔾` to `𝕩`, then apply `𝔽` (`𝔽 𝔾 𝕩`).
`𝔽` and `𝔾` must be monadic.
-```
- -○- 5
-5
- - - 5
-5
-```
+
+ -○- 5
+ 5
+ - - 5
+ 5
+
`𝕨 𝔽○𝔾 𝕩`: Over
Apply `𝔾` to `𝕨` and `𝕩`, then apply `𝔽` to them (`(𝔾 𝕨) 𝔽 (𝔾 𝕩)`).
`𝔽` must be dyadic, `𝔾` must be monadic.
-```
- 1 +○- 2
-¯3
- 1 + - 2
-¯1
- (- 1) + (- 2)
-¯3
-``` \ No newline at end of file
+
+ 1 +○- 2
+ ¯3
+ 1 + - 2
+ ¯1
+ (- 1) + (- 2)
+ ¯3
+
diff --git a/help/◶choose.md b/help/◶choose.md
index 1b7d81f5..8fd73b99 100644
--- a/help/◶choose.md
+++ b/help/◶choose.md
@@ -1,17 +1,19 @@
-Circle with Lower Right Quadrant (`◶`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/◶choose.html).*
+
+# Circle with Lower Right Quadrant (`◶`)
`𝔽◶𝕘 𝕩`, `𝕨 𝔽◶𝕘 𝕩`: Choose
Apply `𝔽` to the arguments and pick a function from list `𝕘`. Apply the picked function to the arguments.
-```
- F ← ⊢◶+‿-‿÷‿×
-⊢◶⟨ + - ÷ × ⟩
- F 0
-0
- F 1
-¯1
- F 2
-0.5
- F 3
-1
-``` \ No newline at end of file
+
+ F ← ⊢◶+‿-‿÷‿×
+ ⊢◶⟨ + - ÷ × ⟩
+ F 0
+ 0
+ F 1
+ ¯1
+ F 2
+ 0.5
+ F 3
+ 1
+
diff --git a/help/⚇depth.md b/help/⚇depth.md
index 14352bd4..b680ba4b 100644
--- a/help/⚇depth.md
+++ b/help/⚇depth.md
@@ -1,12 +1,14 @@
-Circle With Two Dots (`⚇`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/⚇depth.html).*
+
+# Circle With Two Dots (`⚇`)
`𝔽⚇𝕘 𝕩`, `𝕨 𝔽⚇𝕘 𝕩`: Depth
Apply `𝔽` to the cells of the arguments at depth given in `𝕘`.
-```
- 1⊸↓⚇1 ⟨⟨1,2,3⟩, ⟨4,5,6⟩⟩
-⟨ ⟨ 2 3 ⟩ ⟨ 5 6 ⟩ ⟩
- 1 ↓⚇1 ⟨⟨1,2,3⟩, ⟨4,5,6⟩⟩
-⟨ ⟨ 2 3 ⟩ ⟨ 5 6 ⟩ ⟩
-``` \ No newline at end of file
+
+ 1⊸↓⚇1 ⟨⟨1,2,3⟩, ⟨4,5,6⟩⟩
+ ⟨ ⟨ 2 3 ⟩ ⟨ 5 6 ⟩ ⟩
+ 1 ↓⚇1 ⟨⟨1,2,3⟩, ⟨4,5,6⟩⟩
+ ⟨ ⟨ 2 3 ⟩ ⟨ 5 6 ⟩ ⟩
+
diff --git a/help/⟜after bindright.md b/help/⟜after bindright.md
index b1fa1aa5..00a6de2d 100644
--- a/help/⟜after bindright.md
+++ b/help/⟜after bindright.md
@@ -1,41 +1,43 @@
-Left Multimap (`⟜`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/⟜after bindright.html).*
+
+# Left Multimap (`⟜`)
`𝔽⟜𝕘 𝕩`: Bind
Supply `𝕘` as a right argument to `𝔽` (`𝕩 𝔽 𝕘`).
`𝕘` must be a value, `F` must be dyadic.
-```
- -⟜3 9
-6
- - 3 9
-Error
- 9 - 3
-6
-```
+
+ -⟜3 9
+ 6
+ - 3 9
+ Error
+ 9 - 3
+ 6
+
`𝔽⟜𝔾 𝕩`: After
Apply `𝔾` to `𝕩`, and supply it as a right argument to `𝔽` (`𝕩 𝔽 (𝔾 𝕩)`).
`𝔽` must be dyadic, `𝔾` must be monadic.
-```
- ×⟜- 9
-¯81
- × - 9
-¯1
- 9 × (- 9)
-¯81
-```
+
+ ×⟜- 9
+ ¯81
+ × - 9
+ ¯1
+ 9 × (- 9)
+ ¯81
+
`𝕨 𝔽⟜𝔾 𝕩`: Dyadic After
Apply `𝔾` to `𝕩`, and supply it as a right argument to `𝔽` (`𝕨 𝔽 (𝔾 𝕩)`).
`𝔽` must be dyadic, `𝔾` must be monadic.
-```
- 2 ×⟜- 1
-¯2
- 2 × (- 1)
-¯2
-``` \ No newline at end of file
+
+ 2 ×⟜- 1
+ ¯2
+ 2 × (- 1)
+ ¯2
+
diff --git a/help/⥊deshape reshape.md b/help/⥊deshape reshape.md
index f9b4967f..f5fc40a2 100644
--- a/help/⥊deshape reshape.md
+++ b/help/⥊deshape reshape.md
@@ -1,14 +1,16 @@
-Barb (`⥊`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/⥊deshape reshape.html).*
+
+# Barb (`⥊`)
`⥊ 𝕩`: Deshape
Put all elements of `𝕩` in a rank 1 array, converting to array if necessary.
-```
- ⥊ 1
-⟨ 1 ⟩
- ⥊ 1‿2 ≍ 3‿4
-⟨ 1 2 3 4 ⟩
-```
+
+ ⥊ 1
+ ⟨ 1 ⟩
+ ⥊ 1‿2 ≍ 3‿4
+ ⟨ 1 2 3 4 ⟩
+
`𝕨 ⥊ 𝕩`: Reshape
@@ -19,23 +21,23 @@ A single element in `𝕩` can be a function, which will be replaced with an app
- `⌊` Round length down, discarding elements
- `⌽` Round length up
- `↑` Round length up, and use element fill to add extra elements.
-```
- 3‿3 ⥊ 3
-┌─
-╵ 3 3 3
- 3 3 3
- 3 3 3
- ┘
- 2‿⌽‿2 ⥊ 1‿2‿3
-┌─
-╎ 1 2
-
- 3 1
- ┘
- 2‿↑‿2 ⥊ 1‿2‿3
-┌─
-╎ 1 2
-
- 3 0
- ┘
-``` \ No newline at end of file
+
+ 3‿3 ⥊ 3
+ ┌─
+ ╵ 3 3 3
+ 3 3 3
+ 3 3 3
+ ┘
+ 2‿⌽‿2 ⥊ 1‿2‿3
+ ┌─
+ ╎ 1 2
+
+ 3 1
+ ┘
+ 2‿↑‿2 ⥊ 1‿2‿3
+ ┌─
+ ╎ 1 2
+
+ 3 0
+ ┘
+