From ae513293cca5fb30dd59874e4e00c0eecab596f6 Mon Sep 17 00:00:00 2001 From: razetime Date: Thu, 20 Jan 2022 08:31:40 +0530 Subject: fix more h2 errors, generate index for repl help --- docs/help/after_bind.html | 6 +- docs/help/atop.html | 4 +- docs/help/before_bind.html | 6 +- docs/help/conjugate_add.html | 2 +- docs/help/enclose_lessthan.html | 2 +- docs/help/exponential_power.html | 4 +- docs/help/fold.html | 1 + docs/help/gradedown_binsdown.html | 2 +- docs/help/gradeup_binsup.html | 2 +- docs/help/greaterthanorequalto.html | 2 +- docs/help/groupindices_group.html | 2 +- docs/help/identity_left.html | 2 +- docs/help/identity_right.html | 2 +- docs/help/index.html | 273 +++++++++++++++++++++++++++++++++++ docs/help/insert.html | 32 ++++ docs/help/lessthanorequalto.html | 2 +- docs/help/over.html | 4 +- docs/help/reciprocal_divide.html | 2 +- docs/help/scan.html | 2 +- docs/help/sign_multiply.html | 2 +- docs/help/squareroot_root.html | 2 +- docs/help/transpose_reorderaxes.html | 2 +- docs/help/valences.html | 2 +- 23 files changed, 333 insertions(+), 27 deletions(-) create mode 100644 docs/help/index.html create mode 100644 docs/help/insert.html (limited to 'docs/help') diff --git a/docs/help/after_bind.html b/docs/help/after_bind.html index 1e3266ef..45831bb0 100644 --- a/docs/help/after_bind.html +++ b/docs/help/after_bind.html @@ -7,7 +7,7 @@

Left Multimap (โŸœ)

๐”ฝโŸœ๐•˜ ๐•ฉ: Bind

Supply ๐•˜ as a right argument to ๐”ฝ (๐•ฉ ๐”ฝ ๐•˜).

-

๐•˜ must be a value, F must be dyadic.

+

๐•˜ must be a value, F must be dyadic.

โ†—๏ธ
       -โŸœ3 9
 6
 
@@ -19,7 +19,7 @@
 

๐”ฝโŸœ๐”พ ๐•ฉ: After

Apply ๐”พ to ๐•ฉ, and supply it as a right argument to ๐”ฝ (๐•ฉ ๐”ฝ (๐”พ ๐•ฉ)).

-

๐”ฝ must be dyadic, ๐”พ must be monadic.

+

๐”ฝ must be dyadic, ๐”พ must be monadic.

โ†—๏ธ
       ร—โŸœ- 9
 ยฏ81
 
@@ -31,7 +31,7 @@
 

๐•จ ๐”ฝโŸœ๐”พ ๐•ฉ: Dyadic After

Apply ๐”พ to ๐•ฉ, and supply it as a right argument to ๐”ฝ (๐•จ ๐”ฝ (๐”พ ๐•ฉ)).

-

๐”ฝ must be dyadic, ๐”พ must be monadic.

+

๐”ฝ must be dyadic, ๐”พ must be monadic.

โ†—๏ธ
       2 ร—โŸœ- 1
 ยฏ2
 
diff --git a/docs/help/atop.html b/docs/help/atop.html
index 2b01480b..deef0cff 100644
--- a/docs/help/atop.html
+++ b/docs/help/atop.html
@@ -7,7 +7,7 @@
 

Ring Operator (โˆ˜)

๐”ฝโˆ˜๐”พ ๐•ฉ: Atop

Apply ๐”พ to ๐•ฉ, then apply ๐”ฝ (๐”ฝ ๐”พ ๐•ฉ).

-

๐”ฝ and ๐”พ must be monadic.

+

๐”ฝ and ๐”พ must be monadic.

โ†—๏ธ
       -โˆ˜- 5
 5
 
@@ -16,7 +16,7 @@
 

๐•จ ๐”ฝโˆ˜๐”พ ๐•ฉ: Dyadic Atop

Apply ๐”พ to ๐•จ and ๐•ฉ, then apply ๐”ฝ (๐”ฝ (๐•จ ๐”พ ๐•ฉ)).

-

๐”ฝ must be monadic, and ๐”พ must be dyadic.

+

#๐”ฝ must be monadic, and ๐”พ must be dyadic.

โ†—๏ธ
       1 -โˆ˜+ 2
 ยฏ3
 
diff --git a/docs/help/before_bind.html b/docs/help/before_bind.html
index f084fe4c..2401702e 100644
--- a/docs/help/before_bind.html
+++ b/docs/help/before_bind.html
@@ -7,7 +7,7 @@
 

Multimap (โŠธ)

๐•—โŠธ๐”พ ๐•ฉ: Bind Left

Supply ๐•— as a left argument to ๐”พ (๐•— ๐”พ ๐•ฉ).

-

๐•— must be a value, ๐”พ must be dyadic.

+

๐•— must be a value, ๐”พ must be dyadic.

โ†—๏ธ
       3โŠธ- 9
 ยฏ6
 
@@ -16,7 +16,7 @@
 

๐”ฝโŠธ๐”พ ๐•ฉ: Before

Apply ๐”ฝ to ๐•ฉ, and supply it as a left argument to ๐”พ ((๐”ฝ ๐•ฉ) ๐”พ ๐•ฉ).

-

๐”ฝ must be monadic, ๐”พ must be dyadic.

+

๐”ฝ must be monadic, ๐”พ must be dyadic.

โ†—๏ธ
       -โŠธ+ 9
 0
 
@@ -28,7 +28,7 @@
 

๐•จ ๐”ฝโŠธ๐”พ ๐•ฉ: Dyadic Before

Apply ๐”ฝ to ๐•จ, and supply it as a left argument to ๐”พ ((๐”ฝ ๐•จ) ๐”พ ๐•ฉ).

-

๐”ฝ must be monadic, ๐”พ must be dyadic.

+

๐”ฝ must be monadic, ๐”พ must be dyadic.

โ†—๏ธ
       2 -โŠธ+ 1
 ยฏ1
 
diff --git a/docs/help/conjugate_add.html b/docs/help/conjugate_add.html
index 9f42ea1e..6c248885 100644
--- a/docs/help/conjugate_add.html
+++ b/docs/help/conjugate_add.html
@@ -13,7 +13,7 @@
 ยฏ1
 

๐•จ + ๐•ฉ: Add

-

๐•จ added to ๐•ฉ. Either ๐•จ or ๐•ฉ can be a character, and if so, the other has to be an integer.

+

๐•จ added to ๐•ฉ. Either ๐•จ or ๐•ฉ can be a character, and if so, the other has to be an integer.

Pervasive.

โ†—๏ธ
      1 + 2
 3
diff --git a/docs/help/enclose_lessthan.html b/docs/help/enclose_lessthan.html
index 634b255e..7bd6bf84 100644
--- a/docs/help/enclose_lessthan.html
+++ b/docs/help/enclose_lessthan.html
@@ -18,7 +18,7 @@
 โŸจโŸฉ
 

๐•จ < ๐•ฉ: Lesser Than

-

๐•จ and ๐•ฉ can both be either numbers or characters.

+

๐•จ and ๐•ฉ can both be either numbers or characters.

Pervasive.

โ†—๏ธ
      1 < 3
 1
diff --git a/docs/help/exponential_power.html b/docs/help/exponential_power.html
index 6156110d..8b9de1e9 100644
--- a/docs/help/exponential_power.html
+++ b/docs/help/exponential_power.html
@@ -6,13 +6,13 @@
 
 

Star (โ‹†)

โ‹† ๐•ฉ: Exponential

-

e (Euler's constant) to the power of ๐•ฉ.

+

e (Euler's constant) to the power of ๐•ฉ.

Pervasive.

โ†—๏ธ
      โ‹† 0โ€ฟ1โ€ฟ2โ€ฟ3
 โŸจ 1 2.718281828459045 7.38905609893065 20.08553692318767 โŸฉ
 

๐•จ โ‹† ๐•ฉ: Power

-

๐•จ to the power of ๐•ฉ.

+

๐•จ to the power of ๐•ฉ.

Pervasive.

โ†—๏ธ
      2 โ‹† 5
 32
diff --git a/docs/help/fold.html b/docs/help/fold.html
index 019d92eb..065070bb 100644
--- a/docs/help/fold.html
+++ b/docs/help/fold.html
@@ -7,6 +7,7 @@
 

Acute Accent (ยด)

๐”ฝยด ๐•ฉ: Fold

Fold over ๐•ฉ with ๐”ฝ from right to left i.e. Insert ๐”ฝ between the elements of ๐•ฉ.

+

๐•ฉ must be a simple list (1 = =๐•ฉ).

โ†—๏ธ
       +ยด 1โ€ฟ2โ€ฟ3
 6
 
diff --git a/docs/help/gradedown_binsdown.html b/docs/help/gradedown_binsdown.html
index 4aa25059..f2ae7787 100644
--- a/docs/help/gradedown_binsdown.html
+++ b/docs/help/gradedown_binsdown.html
@@ -17,7 +17,7 @@
 

๐•จ โ’ ๐•ฉ: Bins Down

Binary search for each element of ๐•ฉ in ๐•จ, and return the index found, if any.

-

๐•จ must be sorted in descending order.

+

๐•จ must be sorted in descending order.

Right Pervasive.

โ†—๏ธ
       7โ€ฟ5โ€ฟ4โ€ฟ3 โ’ 2
 โ”Œยท   
diff --git a/docs/help/gradeup_binsup.html b/docs/help/gradeup_binsup.html
index ef5ac4ba..edb64577 100644
--- a/docs/help/gradeup_binsup.html
+++ b/docs/help/gradeup_binsup.html
@@ -17,7 +17,7 @@
 

๐•จ โ‹ ๐•ฉ: Bins Up

Binary search for each element of ๐•ฉ in ๐•จ, and return the index found, if any.

-

๐•จ must be sorted in ascending order.

+

๐•จ must be sorted in ascending order.

โ†—๏ธ
       3โ€ฟ4โ€ฟ5โ€ฟ7 โ‹ 2
 โ”Œยท   
 ยท 0  
diff --git a/docs/help/greaterthanorequalto.html b/docs/help/greaterthanorequalto.html
index 0ef22e70..63832149 100644
--- a/docs/help/greaterthanorequalto.html
+++ b/docs/help/greaterthanorequalto.html
@@ -6,7 +6,7 @@
 
 

Greater Than or Equal To (โ‰ฅ)

๐•จ โ‰ฅ ๐•ฉ: Greater Than or Equal To

-

๐•จ and ๐•ฉ can both be either numbers or characters.

+

๐•จ and ๐•ฉ can both be either numbers or characters.

Pervasive.

โ†—๏ธ
      1 โ‰ฅ 3
 0
diff --git a/docs/help/groupindices_group.html b/docs/help/groupindices_group.html
index 2c0bc452..16a66b97 100644
--- a/docs/help/groupindices_group.html
+++ b/docs/help/groupindices_group.html
@@ -7,7 +7,7 @@
 

Square Cup (โŠ”)

โŠ” ๐•ฉ: Group Indices

Group the indices of the major cells of ๐•ฉ by their respective values.

-

๐•ฉ must consist of integers. Groups start from 0.

+

๐•ฉ must consist of integers. Groups start from 0.

โ†—๏ธ
       โŠ” 4โ€ฟ5โ€ฟ6โ€ฟ6โ€ฟ4โ€ฟ7โ€ฟ5
 โŸจ โŸจโŸฉ โŸจโŸฉ โŸจโŸฉ โŸจโŸฉ โŸจ 0 4 โŸฉ โŸจ 1 6 โŸฉ โŸจ 2 3 โŸฉ โŸจ 5 โŸฉ โŸฉ
 
diff --git a/docs/help/identity_left.html b/docs/help/identity_left.html
index a643aed2..c0560573 100644
--- a/docs/help/identity_left.html
+++ b/docs/help/identity_left.html
@@ -5,7 +5,7 @@
 
 
 

Left Tack (โŠฃ)

-

โŠฃ ๐•ฉ:

+

โŠฃ ๐•ฉ: Identity

Return ๐•ฉ.

โ†—๏ธ
      โŠฃ 5
 5
diff --git a/docs/help/identity_right.html b/docs/help/identity_right.html
index e6867881..fbfc2cf7 100644
--- a/docs/help/identity_right.html
+++ b/docs/help/identity_right.html
@@ -5,7 +5,7 @@
 
 
 

Right Tack (โŠข)

-

โŠข ๐•ฉ:

+

โŠข ๐•ฉ: Identity

Return ๐•ฉ.

โ†—๏ธ
      โŠข 5
 5
diff --git a/docs/help/index.html b/docs/help/index.html
new file mode 100644
index 00000000..cae6b620
--- /dev/null
+++ b/docs/help/index.html
@@ -0,0 +1,273 @@
+
+  
+  
+  BQN: REPL Help
+
+
+

REPL Help

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SymbolLink
|Absolute Value, Modulus
โŸœBind, After, Dyadic After
!Assert, Dyad
โˆ˜Atop, Dyadic Atop
โŠธBind Left, Before, Dyadic Before
โŽŠCatch
โŒˆCeiling, Maximum
ห˜Cells
โ—ถChoose
โАClassify, Index Of
+Conjugate, Add
ห™Constant
โทDeduplicate, Find
โ‰กDepth, Match
โš‡Depth
โฅŠDeshape, Reshape
ยจEach
<Enclose, Lesser Than
โ‹ˆEnlist, Pair
โ‹†Exponential, Power
โŠFirst Cell, Select
โŠ‘First, Pick
โŒŠFloor, Minimum
ยดFold, Fold With initial
โ’Grade Down, Bins Down
โ‹Grade Up, Bins Up
โ‰ฅGreater Than or Equal To
โŠ”Group Indices, Group
โŠฃIdentity, Left
โŠขIdentity, Right
/Indices, Replicate
หInsert, Insert With initial
โˆพJoin, Join
โ‰ Length, Not Equal To
โ‰คLesser Than or Equal To
โˆŠUnique Mask, Member Of
>Merge, Greater Than
-Negate, Subtract
ยฌLogical Not, Span
โŠ’Occurrence Count, Progressive Index Of
โ—‹Atop, Over
โ†‘Prefixes, Take
โ†•Range, Windows
=Rank, Equal To
โމRank
รทReciprocal, Divide
โŸRepeat
โŒฝReverse, Dyad
`Scan, Scan With initial
หœSelf, Swap
โ‰ขShape, Not Match
ยปShift After, Shift After
ยซShift Before, Shift Before
ร—Sign, Multiply
โ‰Solo, Couple
โˆจSort Down, Logical Or
โˆงSort Up, Logical And
โˆšSquare root, Root
โ†“Suffixes, Drop
โŒœEach
โ‰Transpose, Reorder Axes
โŒพUnder
โผUndo
โŠ˜Valences, Dyadic Valences
diff --git a/docs/help/insert.html b/docs/help/insert.html new file mode 100644 index 00000000..52e42e55 --- /dev/null +++ b/docs/help/insert.html @@ -0,0 +1,32 @@ + + + + BQN: Acute Accent (`ห`) + + +

Acute Accent (ห)

+

๐”ฝห ๐•ฉ: Insert

+

Fold over ๐•ฉ with ๐”ฝ from right to left i.e. Insert ๐”ฝ between the major cells of ๐•ฉ.

+โ†—๏ธ
       a โ† 3โ€ฟ3 โฅŠ โ†•9
+
+       +ห a
+โŸจ 9 12 15 โŸฉ
+
+       0โ€ฟ1โ€ฟ2 + 3โ€ฟ4โ€ฟ5 + 6โ€ฟ7โ€ฟ8
+โŸจ 9 12 15 โŸฉ
+
+

๐•จ ๐”ฝห ๐•ฉ: Insert With initial

+

Monadic insert, but use ๐•จ as initial right argument.

+

If

+โ†—๏ธ
       a โ† 3โ€ฟ3 โฅŠ โ†•9
+Error: Redefinition
+
+       1โ€ฟ1โ€ฟ1 +ห a
+โŸจ 10 13 16 โŸฉ
+
+       1 +ห a
+โŸจ 10 13 16 โŸฉ
+
+       0โ€ฟ1โ€ฟ2 + 3โ€ฟ4โ€ฟ5 + 6โ€ฟ7โ€ฟ8 + 1โ€ฟ1โ€ฟ1
+โŸจ 10 13 16 โŸฉ
+
diff --git a/docs/help/lessthanorequalto.html b/docs/help/lessthanorequalto.html index 061f9756..70e379b1 100644 --- a/docs/help/lessthanorequalto.html +++ b/docs/help/lessthanorequalto.html @@ -6,7 +6,7 @@

Lesser Than or Equal To (โ‰ค)

๐•จ โ‰ค ๐•ฉ: Lesser Than or Equal To

-

๐•จ and ๐•ฉ can both be either numbers or characters.

+

๐•จ and ๐•ฉ can both be either numbers or characters.

Pervasive.

โ†—๏ธ
      1 โ‰ค 3
 1
diff --git a/docs/help/over.html b/docs/help/over.html
index a7629b90..518919c1 100644
--- a/docs/help/over.html
+++ b/docs/help/over.html
@@ -7,7 +7,7 @@
 

Circle (โ—‹)

๐”ฝโ—‹๐”พ ๐•ฉ: Atop

Apply ๐”พ to ๐•ฉ, then apply ๐”ฝ (๐”ฝ ๐”พ ๐•ฉ).

-

๐”ฝ and ๐”พ must be monadic.

+

๐”ฝ and ๐”พ must be monadic.

โ†—๏ธ
       -โ—‹- 5
 5
 
@@ -16,7 +16,7 @@
 

๐•จ ๐”ฝโ—‹๐”พ ๐•ฉ: Over

Apply ๐”พ to ๐•จ and ๐•ฉ, then apply ๐”ฝ to them ((๐”พ ๐•จ) ๐”ฝ (๐”พ ๐•ฉ)).

-

๐”ฝ must be dyadic, ๐”พ must be monadic.

+

๐”ฝ must be dyadic, ๐”พ must be monadic.

โ†—๏ธ
       1 +โ—‹- 2
 ยฏ3
 
diff --git a/docs/help/reciprocal_divide.html b/docs/help/reciprocal_divide.html
index 7aaee42d..ee87812e 100644
--- a/docs/help/reciprocal_divide.html
+++ b/docs/help/reciprocal_divide.html
@@ -12,7 +12,7 @@
 0.2
 

๐•จ รท ๐•ฉ: Divide

-

๐•จ divided by ๐•ฉ.

+

๐•จ divided by ๐•ฉ.

Pervasive.

โ†—๏ธ
    5 รท 4
 1.25
diff --git a/docs/help/scan.html b/docs/help/scan.html
index 9ddf093a..362dceb8 100644
--- a/docs/help/scan.html
+++ b/docs/help/scan.html
@@ -5,7 +5,7 @@
 
 
 

Grave (`)

-

๐”ฝ` ๐•ฉ: Fold

+

๐”ฝ` ๐•ฉ: Scan

Scan over ๐•ฉ with ๐”ฝ from left to right, producing intermediate values.

โ†—๏ธ
       +` 1โ€ฟ2โ€ฟ3
 โŸจ 1 3 6 โŸฉ
diff --git a/docs/help/sign_multiply.html b/docs/help/sign_multiply.html
index e6eaf594..02a61f65 100644
--- a/docs/help/sign_multiply.html
+++ b/docs/help/sign_multiply.html
@@ -17,7 +17,7 @@
 โŸจ ยฏ1 0 1 1 โŸฉ
 

๐•จ ร— ๐•ฉ: Multiply

-

๐•จ multiplied by ๐•ฉ.

+

๐•จ multiplied by ๐•ฉ.

Pervasive.

โ†—๏ธ
      1 ร— 2
 2
diff --git a/docs/help/squareroot_root.html b/docs/help/squareroot_root.html
index 94883873..15da07b3 100644
--- a/docs/help/squareroot_root.html
+++ b/docs/help/squareroot_root.html
@@ -11,7 +11,7 @@
 1.414213562373095
 

๐•จ โˆš ๐•ฉ: Root

-

๐•จth root of ๐•ฉ.

+

๐•จth root of ๐•ฉ.

Pervasive.

โ†—๏ธ
      2 โˆš 2
 1.414213562373095
diff --git a/docs/help/transpose_reorderaxes.html b/docs/help/transpose_reorderaxes.html
index 2d42e13a..17719fdf 100644
--- a/docs/help/transpose_reorderaxes.html
+++ b/docs/help/transpose_reorderaxes.html
@@ -21,7 +21,7 @@
        โ‰ขโ‰ b
 โŸจ 2 3 1 โŸฉ
 
-

๐•จ โ‰ ๐•ฉ: Dyad

+

๐•จ โ‰ ๐•ฉ: Reorder Axes

Rearrange the axes of ๐•ฉ as per the axis indices in ๐•จ.

โ†—๏ธ
       โ‰ข a โ† 2โ€ฟ3โ€ฟ4โ€ฟ5โ€ฟ6 โฅŠ1
 Error: Redefinition
diff --git a/docs/help/valences.html b/docs/help/valences.html
index bca22e88..8a1072d8 100644
--- a/docs/help/valences.html
+++ b/docs/help/valences.html
@@ -13,7 +13,7 @@
        -โŠ˜+ 5
 ยฏ5
 
-

๐•จ ๐”ฝโŠ˜๐”พ ๐•ฉ: Valences

+

๐•จ ๐”ฝโŠ˜๐”พ ๐•ฉ: Dyadic Valences

Apply ๐”พ to ๐•จ and ๐•ฉ.

โ†—๏ธ
       4 +โŠ˜- 5
 ยฏ1
-- 
cgit v1.2.3