From f74ae588caad19f498440bd8e848d8df5724174e Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Wed, 19 Jan 2022 22:17:37 -0500 Subject: Various help page fixes --- docs/help/enclose_lessthan.html | 5 +- docs/help/index.html | 130 ++++++++++++++++++++-------------------- docs/help/solo_couple.html | 16 ++--- docs/help/under.html | 6 +- help/README.md | 70 ++++++++++++++++++++++ help/enclose_lessthan.md | 24 ++++---- help/index.md | 70 ---------------------- help/solo_couple.md | 26 ++++---- help/under.md | 4 +- 9 files changed, 172 insertions(+), 179 deletions(-) create mode 100644 help/README.md delete mode 100644 help/index.md diff --git a/docs/help/enclose_lessthan.html b/docs/help/enclose_lessthan.html index 7bd6bf84..cad7cc59 100644 --- a/docs/help/enclose_lessthan.html +++ b/docs/help/enclose_lessthan.html @@ -5,15 +5,14 @@

Lesser Than (<)

-

< 𝕩: Enclose

+

< 𝕩: Enclose

Create a unit array containing 𝕩. ((≒𝕩) ≑ ⟨⟩)

↗️
      <1
 β”ŒΒ·   
 Β· 1  
     β”˜
 
-    
-Error: Empty program
+
       β‰’<1
 ⟨⟩
 
diff --git a/docs/help/index.html b/docs/help/index.html index cae6b620..12b1abc2 100644 --- a/docs/help/index.html +++ b/docs/help/index.html @@ -3,7 +3,7 @@ BQN: REPL Help - +

REPL Help

@@ -15,259 +15,259 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
|Absolute Value, ModulusAbsolute Value, Modulus
⟜Bind, After, Dyadic AfterBind, After, Dyadic After
!Assert, DyadAssert, Dyad
∘Atop, Dyadic AtopAtop, Dyadic Atop
⊸Bind Left, Before, Dyadic BeforeBind Left, Before, Dyadic Before
⎊CatchCatch
⌈Ceiling, MaximumCeiling, Maximum
˘CellsCells
β—ΆChooseChoose
⊐Classify, Index OfClassify, Index Of
+Conjugate, AddConjugate, Add
Λ™ConstantConstant
⍷Deduplicate, FindDeduplicate, Find
≑Depth, MatchDepth, Match
βš‡DepthDepth
β₯ŠDeshape, ReshapeDeshape, Reshape
Β¨EachEach
<Enclose, Lesser ThanEnclose, Lesser Than
β‹ˆEnlist, PairEnlist, Pair
⋆Exponential, PowerExponential, Power
⊏First Cell, SelectFirst Cell, Select
βŠ‘First, PickFirst, Pick
⌊Floor, MinimumFloor, Minimum
Β΄Fold, Fold With initialFold, Fold With initial
⍒Grade Down, Bins DownGrade Down, Bins Down
⍋Grade Up, Bins UpGrade Up, Bins Up
β‰₯Greater Than or Equal ToGreater Than or Equal To
βŠ”Group Indices, GroupGroup Indices, Group
⊣Identity, LeftIdentity, Left
⊒Identity, RightIdentity, Right
/Indices, ReplicateIndices, Replicate
˝Insert, Insert With initialInsert, Insert With initial
∾Join, JoinJoin, Join
β‰ Length, Not Equal ToLength, Not Equal To
≀Lesser Than or Equal ToLesser Than or Equal To
∊Unique Mask, Member OfUnique Mask, Member Of
>Merge, Greater ThanMerge, Greater Than
-Negate, SubtractNegate, Subtract
Β¬Logical Not, SpanLogical Not, Span
βŠ’Occurrence Count, Progressive Index OfOccurrence Count, Progressive Index Of
β—‹Atop, OverAtop, Over
↑Prefixes, TakePrefixes, Take
↕Range, WindowsRange, Windows
=Rank, Equal ToRank, Equal To
βŽ‰RankRank
Γ·Reciprocal, DivideReciprocal, Divide
⍟RepeatRepeat
⌽Reverse, DyadReverse, Dyad
`Scan, Scan With initialScan, Scan With initial
˜Self, SwapSelf, Swap
β‰’Shape, Not MatchShape, Not Match
Β»Shift After, Shift AfterShift After, Shift After
Β«Shift Before, Shift BeforeShift Before, Shift Before
Γ—Sign, MultiplySign, Multiply
≍Solo, CoupleSolo, Couple
∨Sort Down, Logical OrSort Down, Logical Or
∧Sort Up, Logical AndSort Up, Logical And
√Square root, RootSquare root, Root
↓Suffixes, DropSuffixes, Drop
⌜EachEach
⍉Transpose, Reorder AxesTranspose, Reorder Axes
⌾UnderUnder
⁼UndoUndo
⊘Valences, Dyadic ValencesValences, Dyadic Valences
diff --git a/docs/help/solo_couple.html b/docs/help/solo_couple.html index 7c663d1a..5af4506b 100644 --- a/docs/help/solo_couple.html +++ b/docs/help/solo_couple.html @@ -5,34 +5,30 @@

Tape (≍)

-

≍ 𝕩: Solo

+

≍ 𝕩: Solo

Add a dimension to 𝕩.

-↗️
      ≍ 1
+↗️
      ≍ 1
 ⟨ 1 ⟩
 
-      
-Error: Empty program
+
       ≍≍ 1
 β”Œβ”€   
 β•΅ 1  
     β”˜
 
-      
-Error: Empty program
+
      ≍≍≍ 1
 β”Œβ”€   
 β•Ž 1  
     β”˜
 
-      
-Error: Empty program
+
      ≍≍ 1β€Ώ2β€Ώ3β€Ώ4
 β”Œβ”€         
 β•Ž 1 2 3 4  
           β”˜
 
-      
-Error: Empty program
+
      ≍≍≍ 1β€Ώ2β€Ώ3β€Ώ4
 β”Œβ”€         
 ┆ 1 2 3 4  
diff --git a/docs/help/under.html b/docs/help/under.html
index eb83dd3e..f923f27e 100644
--- a/docs/help/under.html
+++ b/docs/help/under.html
@@ -12,8 +12,10 @@
 
  • Undo transformation 𝔾
  • Where 𝔾 must be

    -

    1. A function invertible by ⁼ (Undo) -2. A structural modification

    +
      +
    • A function invertible by ⁼ (Undo)
    • +
    • A structural modification
    • +
    ↗️
           9⌾(1βŠΈβŠ‘) 1β€Ώ2β€Ώ3
     ⟨ 1 9 3 ⟩
     
    diff --git a/help/README.md b/help/README.md
    new file mode 100644
    index 00000000..2d6d3cf1
    --- /dev/null
    +++ b/help/README.md
    @@ -0,0 +1,70 @@
    +*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/index.html).*
    +
    +# REPL Help
    +
    +| Symbol | Link |
    +|--------|------|
    +| `\|` | [Absolute Value, Modulus](absolutevalue_modulus.md) |
    +| `⟜` | [Bind, After, Dyadic After](after_bind.md) |
    +| `!` | [Assert, Dyad](assert_assertwithmessage.md) |
    +| `∘` | [Atop, Dyadic Atop](atop.md) |
    +| `⊸` | [Bind Left, Before, Dyadic Before](before_bind.md) |
    +| `⎊` | [Catch](catch.md) |
    +| `⌈` | [Ceiling, Maximum](ceiling_maximum.md) |
    +| `˘` | [Cells](cells.md) |
    +| `β—Ά` | [Choose](choose.md) |
    +| `⊐` | [Classify, Index Of](classify_indexof.md) |
    +| `+` | [Conjugate, Add](conjugate_add.md) |
    +| `Λ™` | [Constant](constant.md) |
    +| `⍷` | [Deduplicate, Find](deduplicate_find.md) |
    +| `≑` | [Depth, Match](depth_match.md) |
    +| `βš‡` | [Depth](depth.md) |
    +| `β₯Š` | [Deshape, Reshape](deshape_reshape.md) |
    +| `Β¨` | [Each](each.md) |
    +| `<` | [Enclose, Lesser Than](enclose_lessthan.md) |
    +| `β‹ˆ` | [Enlist, Pair](enlist_pair.md) |
    +| `⋆` | [Exponential, Power](exponential_power.md) |
    +| `⊏` | [First Cell, Select](firstcell_select.md) |
    +| `βŠ‘` | [First, Pick](first_pick.md) |
    +| `⌊` | [Floor, Minimum](floor_minimum.md) |
    +| `Β΄` | [Fold, Fold With initial](fold.md) |
    +| `⍒` | [Grade Down, Bins Down](gradedown_binsdown.md) |
    +| `⍋` | [Grade Up, Bins Up](gradeup_binsup.md) |
    +| `β‰₯` | [Greater Than or Equal To](greaterthanorequalto.md) |
    +| `βŠ”` | [Group Indices, Group](groupindices_group.md) |
    +| `⊣` | [Identity, Left](identity_left.md) |
    +| `⊒` | [Identity, Right](identity_right.md) |
    +| `/` | [Indices, Replicate](indices_replicate.md) |
    +| `˝` | [Insert, Insert With initial](insert.md) |
    +| `∾` | [Join, Join](join_jointo.md) |
    +| `β‰ ` | [Length, Not Equal To](length_notequals.md) |
    +| `≀` | [Lesser Than or Equal To](lessthanorequalto.md) |
    +| `∊` | [Unique Mask, Member Of](markfirst_memberof.md) |
    +| `>` | [Merge, Greater Than](merge_greaterthan.md) |
    +| `-` | [Negate, Subtract](negate_subtract.md) |
    +| `Β¬` | [Logical Not, Span](not_span.md) |
    +| `βŠ’` | [Occurrence Count, Progressive Index Of](occurrencecount_progressiveindexof.md) |
    +| `β—‹` | [Atop, Over](over.md) |
    +| `↑` | [Prefixes, Take](prefixes_take.md) |
    +| `↕` | [Range, Windows](range_windows.md) |
    +| `=` | [Rank, Equal To](rank_equals.md) |
    +| `βŽ‰` | [Rank](rank.md) |
    +| `Γ·` | [Reciprocal, Divide](reciprocal_divide.md) |
    +| `⍟` | [Repeat](repeat.md) |
    +| `⌽` | [Reverse, Dyad](reverse_rotate.md) |
    +| `` ` `` | [Scan, Scan With initial](scan.md) |
    +| `˜` | [Self, Swap](self_swap.md) |
    +| `β‰’` | [Shape, Not Match](shape_notmatch.md) |
    +| `Β»` | [Shift After, Shift After](shiftafter.md) |
    +| `Β«` | [Shift Before, Shift Before](shiftbefore.md) |
    +| `Γ—` | [Sign, Multiply](sign_multiply.md) |
    +| `≍` | [Solo, Couple](solo_couple.md) |
    +| `∨` | [Sort Down, Logical Or](sortdown_or.md) |
    +| `∧` | [Sort Up, Logical And](sortup_and.md) |
    +| `√` | [Square root, Root](squareroot_root.md) |
    +| `↓` | [Suffixes, Drop](suffixes_drop.md) |
    +| `⌜` | [Each](table.md) |
    +| `⍉` | [Transpose, Reorder Axes](transpose_reorderaxes.md) |
    +| `⌾` | [Under](under.md) |
    +| `⁼` | [Undo](undo.md) |
    +| `⊘` | [Valences, Dyadic Valences](valences.md) |
    diff --git a/help/enclose_lessthan.md b/help/enclose_lessthan.md
    index 668318cd..d584584f 100644
    --- a/help/enclose_lessthan.md
    +++ b/help/enclose_lessthan.md
    @@ -1,27 +1,25 @@
     *View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/enclose_lessthan.html).*
     
     # Lesser Than (`<`)
    -    
    -## `< 𝕩`: Enclose  
    -    
    +
    +## `< 𝕩`: Enclose
    +
     Create a unit array containing `𝕩`. (`(≒𝕩) ≑ ⟨⟩`)
    -    
    -    
    +
    +
               <1
     
    -        
    +
               β‰’<1
     
    -    
    -    
    +
    +
     ## `𝕨 < 𝕩`: Lesser Than
    -    
    +
     `𝕨` and `𝕩` can both be either numbers or characters.
    -    
    +
     [Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
    -    
    +
               1 < 3
     
               2β€Ώ3β€Ώ0 < 3β€Ώ1β€Ώ0
    -
    -    
    diff --git a/help/index.md b/help/index.md
    deleted file mode 100644
    index 8a0f2c1b..00000000
    --- a/help/index.md
    +++ /dev/null
    @@ -1,70 +0,0 @@
    -*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/index.html).*
    -
    -# REPL Help
    -
    -| Symbol | Link |
    -|--------|------|
    -| `\|` | [Absolute Value, Modulus](https://mlochbaum.github.io/BQN/help/absolutevalue_modulus.html) |
    -| `⟜` | [Bind, After, Dyadic After](https://mlochbaum.github.io/BQN/help/after_bind.html) |
    -| `!` | [Assert, Dyad](https://mlochbaum.github.io/BQN/help/assert_assertwithmessage.html) |
    -| `∘` | [Atop, Dyadic Atop](https://mlochbaum.github.io/BQN/help/atop.html) |
    -| `⊸` | [Bind Left, Before, Dyadic Before](https://mlochbaum.github.io/BQN/help/before_bind.html) |
    -| `⎊` | [Catch](https://mlochbaum.github.io/BQN/help/catch.html) |
    -| `⌈` | [Ceiling, Maximum](https://mlochbaum.github.io/BQN/help/ceiling_maximum.html) |
    -| `˘` | [Cells](https://mlochbaum.github.io/BQN/help/cells.html) |
    -| `β—Ά` | [Choose](https://mlochbaum.github.io/BQN/help/choose.html) |
    -| `⊐` | [Classify, Index Of](https://mlochbaum.github.io/BQN/help/classify_indexof.html) |
    -| `+` | [Conjugate, Add](https://mlochbaum.github.io/BQN/help/conjugate_add.html) |
    -| `Λ™` | [Constant](https://mlochbaum.github.io/BQN/help/constant.html) |
    -| `⍷` | [Deduplicate, Find](https://mlochbaum.github.io/BQN/help/deduplicate_find.html) |
    -| `≑` | [Depth, Match](https://mlochbaum.github.io/BQN/help/depth_match.html) |
    -| `βš‡` | [Depth](https://mlochbaum.github.io/BQN/help/depth.html) |
    -| `β₯Š` | [Deshape, Reshape](https://mlochbaum.github.io/BQN/help/deshape_reshape.html) |
    -| `Β¨` | [Each](https://mlochbaum.github.io/BQN/help/each.html) |
    -| `<` | [Enclose, Lesser Than](https://mlochbaum.github.io/BQN/help/enclose_lessthan.html) |
    -| `β‹ˆ` | [Enlist, Pair](https://mlochbaum.github.io/BQN/help/enlist_pair.html) |
    -| `⋆` | [Exponential, Power](https://mlochbaum.github.io/BQN/help/exponential_power.html) |
    -| `⊏` | [First Cell, Select](https://mlochbaum.github.io/BQN/help/firstcell_select.html) |
    -| `βŠ‘` | [First, Pick](https://mlochbaum.github.io/BQN/help/first_pick.html) |
    -| `⌊` | [Floor, Minimum](https://mlochbaum.github.io/BQN/help/floor_minimum.html) |
    -| `Β΄` | [Fold, Fold With initial](https://mlochbaum.github.io/BQN/help/fold.html) |
    -| `⍒` | [Grade Down, Bins Down](https://mlochbaum.github.io/BQN/help/gradedown_binsdown.html) |
    -| `⍋` | [Grade Up, Bins Up](https://mlochbaum.github.io/BQN/help/gradeup_binsup.html) |
    -| `β‰₯` | [Greater Than or Equal To](https://mlochbaum.github.io/BQN/help/greaterthanorequalto.html) |
    -| `βŠ”` | [Group Indices, Group](https://mlochbaum.github.io/BQN/help/groupindices_group.html) |
    -| `⊣` | [Identity, Left](https://mlochbaum.github.io/BQN/help/identity_left.html) |
    -| `⊒` | [Identity, Right](https://mlochbaum.github.io/BQN/help/identity_right.html) |
    -| `/` | [Indices, Replicate](https://mlochbaum.github.io/BQN/help/indices_replicate.html) |
    -| `˝` | [Insert, Insert With initial](https://mlochbaum.github.io/BQN/help/insert.html) |
    -| `∾` | [Join, Join](https://mlochbaum.github.io/BQN/help/join_jointo.html) |
    -| `β‰ ` | [Length, Not Equal To](https://mlochbaum.github.io/BQN/help/length_notequals.html) |
    -| `≀` | [Lesser Than or Equal To](https://mlochbaum.github.io/BQN/help/lessthanorequalto.html) |
    -| `∊` | [Unique Mask, Member Of](https://mlochbaum.github.io/BQN/help/markfirst_memberof.html) |
    -| `>` | [Merge, Greater Than](https://mlochbaum.github.io/BQN/help/merge_greaterthan.html) |
    -| `-` | [Negate, Subtract](https://mlochbaum.github.io/BQN/help/negate_subtract.html) |
    -| `Β¬` | [Logical Not, Span](https://mlochbaum.github.io/BQN/help/not_span.html) |
    -| `βŠ’` | [Occurrence Count, Progressive Index Of](https://mlochbaum.github.io/BQN/help/occurrencecount_progressiveindexof.html) |
    -| `β—‹` | [Atop, Over](https://mlochbaum.github.io/BQN/help/over.html) |
    -| `↑` | [Prefixes, Take](https://mlochbaum.github.io/BQN/help/prefixes_take.html) |
    -| `↕` | [Range, Windows](https://mlochbaum.github.io/BQN/help/range_windows.html) |
    -| `=` | [Rank, Equal To](https://mlochbaum.github.io/BQN/help/rank_equals.html) |
    -| `βŽ‰` | [Rank](https://mlochbaum.github.io/BQN/help/rank.html) |
    -| `Γ·` | [Reciprocal, Divide](https://mlochbaum.github.io/BQN/help/reciprocal_divide.html) |
    -| `⍟` | [Repeat](https://mlochbaum.github.io/BQN/help/repeat.html) |
    -| `⌽` | [Reverse, Dyad](https://mlochbaum.github.io/BQN/help/reverse_rotate.html) |
    -| `` ` `` | [Scan, Scan With initial](https://mlochbaum.github.io/BQN/help/scan.html) |
    -| `˜` | [Self, Swap](https://mlochbaum.github.io/BQN/help/self_swap.html) |
    -| `β‰’` | [Shape, Not Match](https://mlochbaum.github.io/BQN/help/shape_notmatch.html) |
    -| `Β»` | [Shift After, Shift After](https://mlochbaum.github.io/BQN/help/shiftafter.html) |
    -| `Β«` | [Shift Before, Shift Before](https://mlochbaum.github.io/BQN/help/shiftbefore.html) |
    -| `Γ—` | [Sign, Multiply](https://mlochbaum.github.io/BQN/help/sign_multiply.html) |
    -| `≍` | [Solo, Couple](https://mlochbaum.github.io/BQN/help/solo_couple.html) |
    -| `∨` | [Sort Down, Logical Or](https://mlochbaum.github.io/BQN/help/sortdown_or.html) |
    -| `∧` | [Sort Up, Logical And](https://mlochbaum.github.io/BQN/help/sortup_and.html) |
    -| `√` | [Square root, Root](https://mlochbaum.github.io/BQN/help/squareroot_root.html) |
    -| `↓` | [Suffixes, Drop](https://mlochbaum.github.io/BQN/help/suffixes_drop.html) |
    -| `⌜` | [Each](https://mlochbaum.github.io/BQN/help/table.html) |
    -| `⍉` | [Transpose, Reorder Axes](https://mlochbaum.github.io/BQN/help/transpose_reorderaxes.html) |
    -| `⌾` | [Under](https://mlochbaum.github.io/BQN/help/under.html) |
    -| `⁼` | [Undo](https://mlochbaum.github.io/BQN/help/undo.html) |
    -| `⊘` | [Valences, Dyadic Valences](https://mlochbaum.github.io/BQN/help/valences.html) |
    diff --git a/help/solo_couple.md b/help/solo_couple.md
    index ac66e5c2..dfee8d18 100644
    --- a/help/solo_couple.md
    +++ b/help/solo_couple.md
    @@ -1,33 +1,31 @@
     *View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/solo_couple.html).*
     
     # Tape (`≍`)
    -    
    -## `≍ 𝕩`: Solo 
    -    
    +
    +## `≍ 𝕩`: Solo
    +
     Add a dimension to `𝕩`.
    -    
    +
               ≍ 1
     
    -          
    +
               ≍≍ 1
     
    -          
    +
              ≍≍≍ 1
     
    -          
    +
              ≍≍ 1β€Ώ2β€Ώ3β€Ώ4
     
    -          
    +
              ≍≍≍ 1β€Ώ2β€Ώ3β€Ώ4
     
    -    
    -    
    +
    +
     ## `𝕨 ≍ 𝕩`: Couple
    -    
    +
     Join `𝕨` and `𝕩` along a newly created axis.
    -    
    +
                1 ≍ 3
     
                1β€Ώ2 ≍ 2β€Ώ3
    -
    -    
    diff --git a/help/under.md b/help/under.md
    index 0eb86091..e811216c 100644
    --- a/help/under.md
    +++ b/help/under.md
    @@ -10,8 +10,8 @@
         
     Where `𝔾` must be 
         
    -1. A function invertible by `⁼` (Undo)
    -2. A structural modification
    +- A function invertible by `⁼` (Undo)
    +- A structural modification
         
                9⌾(1βŠΈβŠ‘) 1β€Ώ2β€Ώ3
     
    -- 
    cgit v1.2.3