diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-01-24 20:13:18 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-01-24 20:14:44 -0500 |
| commit | 5566ea9429f75b54a8cffb9ebea7747ea651d52c (patch) | |
| tree | cb50a64656fff5c2d41a22dcd6ce553ac1bd8e2e /docs/help | |
| parent | 3b6599b12470fe9b1321111d31c34685ffd5db52 (diff) | |
Editing
Diffstat (limited to 'docs/help')
36 files changed, 69 insertions, 95 deletions
diff --git a/docs/help/beginexpression.html b/docs/help/beginexpression.html index c0373269..056524e5 100644 --- a/docs/help/beginexpression.html +++ b/docs/help/beginexpression.html @@ -7,7 +7,7 @@ <h1 id="left-parenthesis-"><a class="header" href="#left-parenthesis-">Left Parenthesis (<code><span class='Paren'>(</span></code>)</a></h1> <h2 id="--begin-expression"><a class="header" href="#--begin-expression"><code><span class='Paren'>(</span> <span class='Value'>...</span></code>: Begin Expression</a></h2> <p>Starts an expression, and only one expression. Must end with a corresponding <code><span class='Paren'>)</span></code>.</p> -<p><code><span class='Paren'>(</span></code> gives higher precedence to the expression in it, and BQN will evaluate expressions in <code><span class='Paren'>()</span></code> first.</p> +<p><code><span class='Paren'>(</span></code> supercedes any precedence order, so that an expression in <code><span class='Paren'>()</span></code> is evaluated fully before it can be used in the outer context.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=MSArIDIgLSAzCgooMSArIDIpIC0gMw==">βοΈ</a><pre> <span class='Number'>1</span> <span class='Function'>+</span> <span class='Number'>2</span> <span class='Function'>-</span> <span class='Number'>3</span> 0 diff --git a/docs/help/catch.html b/docs/help/catch.html index a5a546fd..2612567b 100644 --- a/docs/help/catch.html +++ b/docs/help/catch.html @@ -7,8 +7,8 @@ <h1 id="circled-triangle-down-"><a class="header" href="#circled-triangle-down-">Circled Triangle Down (<code><span class='Modifier2'>β</span></code>)</a></h1> <h2 id="π½πΎ-π©-π¨-π½πΎ-π©-catch"><a class="header" href="#π½πΎ-π©-π¨-π½πΎ-π©-catch"><code><span class='Function'>π½</span><span class='Modifier2'>β</span><span class='Function'>πΎ</span> <span class='Value'>π©</span></code>, <code><span class='Value'>π¨</span> <span class='Function'>π½</span><span class='Modifier2'>β</span><span class='Function'>πΎ</span> <span class='Value'>π©</span></code>: Catch</a></h2> <p>Apply <code><span class='Function'>π½</span></code> to the arguments.</p> -<p>If an error happens when <code><span class='Function'>π½</span></code> is applied, cancel its execution, apply <code><span class='Function'>πΎ</span></code> to the arguments and return the results.</p> -<p>Otherwise, return the results of <code><span class='Function'>π½</span></code>.</p> +<p>If an error happens when <code><span class='Function'>π½</span></code> is applied, cancel its execution, apply <code><span class='Function'>πΎ</span></code> to the arguments and return its result.</p> +<p>Otherwise, return the result of <code><span class='Function'>π½</span></code>.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAg4oi+4o6KeyJlcnJvciBvY2N1cnJlZCB3aXRoIGFyZ3VtZW50OiAi4oi+4oCiRm10IPCdlal9IDEKCiAgIOKIvuKOinsiZXJyb3Igb2NjdXJyZWQgd2l0aCBhcmd1bWVudDogIuKIvuKAokZtdCDwnZWpfSDin6jin6gxLDLin6ksIOKfqDMsNOKfqeKfqQ==">βοΈ</a><pre> <span class='Function'>βΎ</span><span class='Modifier2'>β</span><span class='Brace'>{</span><span class='String'>"error occurred with argument: "</span><span class='Function'>βΎβ’Fmt</span> <span class='Value'>π©</span><span class='Brace'>}</span> <span class='Number'>1</span> "error occurred with argument: 1" diff --git a/docs/help/ceiling_maximum.html b/docs/help/ceiling_maximum.html index 2cff2167..9b0ab05e 100644 --- a/docs/help/ceiling_maximum.html +++ b/docs/help/ceiling_maximum.html @@ -6,7 +6,7 @@ <div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div> <h1 id="left-ceiling-"><a class="header" href="#left-ceiling-">Left Ceiling (<code><span class='Function'>β</span></code>)</a></h1> <h2 id="-π©-ceiling"><a class="header" href="#-π©-ceiling"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: Ceiling</a></h2> -<p>Round <code><span class='Value'>π©</span></code> up.</p> +<p>Round <code><span class='Value'>π©</span></code> up to the nearest integer.</p> <p><a href="../doc/arithmetic.html#pervasion">Pervasive.</a></p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICDijIggMS4y4oC/z4DigL8z4oC/Ny44OQ==">βοΈ</a><pre> <span class='Function'>β</span> <span class='Number'>1.2</span><span class='Ligature'>βΏ</span><span class='Number'>Ο</span><span class='Ligature'>βΏ</span><span class='Number'>3</span><span class='Ligature'>βΏ</span><span class='Number'>7.89</span> β¨ 2 4 3 8 β© diff --git a/docs/help/choose.html b/docs/help/choose.html index 96304e0b..a337eebf 100644 --- a/docs/help/choose.html +++ b/docs/help/choose.html @@ -6,7 +6,7 @@ <div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div> <h1 id="circle-with-lower-right-quadrant-"><a class="header" href="#circle-with-lower-right-quadrant-">Circle with Lower Right Quadrant (<code><span class='Modifier2'>βΆ</span></code>)</a></h1> <h2 id="π½π-π©-π¨-π½π-π©-choose"><a class="header" href="#π½π-π©-π¨-π½π-π©-choose"><code><span class='Function'>π½</span><span class='Modifier2'>βΆ</span><span class='Value'>π</span> <span class='Value'>π©</span></code>, <code><span class='Value'>π¨</span> <span class='Function'>π½</span><span class='Modifier2'>βΆ</span><span class='Value'>π</span> <span class='Value'>π©</span></code>: Choose</a></h2> -<p>Apply <code><span class='Function'>π½</span></code> to the arguments and pick a function from list <code><span class='Value'>π</span></code>. Apply the picked function to the arguments.</p> +<p>Apply <code><span class='Function'>π½</span></code> to the arguments and use the result to <a href="first_pick.html#π¨--π©-pick">pick</a> (<code><span class='Function'>β</span></code>) a function from list <code><span class='Value'>π</span></code>. Apply the picked function to the arguments.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgRiDihpAg4oqi4pe2K+KAvy3igL/Dt+KAv8OXCgogICBGIDAKCiAgIEYgMQoKICAgRiAyCgogICBGIDM=">βοΈ</a><pre> <span class='Function'>F</span> <span class='Gets'>β</span> <span class='Function'>β’</span><span class='Modifier2'>βΆ</span><span class='Function'>+</span><span class='Ligature'>βΏ</span><span class='Function'>-</span><span class='Ligature'>βΏ</span><span class='Function'>Γ·</span><span class='Ligature'>βΏ</span><span class='Function'>Γ</span> <span class='Function'>F</span> <span class='Number'>0</span> diff --git a/docs/help/classify_indexof.html b/docs/help/classify_indexof.html index 143393be..43cc25fe 100644 --- a/docs/help/classify_indexof.html +++ b/docs/help/classify_indexof.html @@ -6,7 +6,7 @@ <div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div> <h1 id="square-original-of-"><a class="header" href="#square-original-of-">Square Original Of (<code><span class='Function'>β</span></code>)</a></h1> <h2 id="-π©-classify"><a class="header" href="#-π©-classify"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: Classify</a></h2> -<p>First index of each major cell of <code><span class='Value'>π©</span></code> in <code><span class='Value'>π©</span></code>.</p> +<p>Translate major cells of <code><span class='Value'>π©</span></code> to unique ID numbers based on first occurrence.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAg4oqQIDXigL824oC/MuKAvzLigL814oC/MQoKICAgYSDihpAgM+KAvzMg4qWKIDDigL8x4oC/MuKAvznigL8w4oC/OeKAvzDigL8x4oC/MgoKICAg4oqQIGE=">βοΈ</a><pre> <span class='Function'>β</span> <span class='Number'>5</span><span class='Ligature'>βΏ</span><span class='Number'>6</span><span class='Ligature'>βΏ</span><span class='Number'>2</span><span class='Ligature'>βΏ</span><span class='Number'>2</span><span class='Ligature'>βΏ</span><span class='Number'>5</span><span class='Ligature'>βΏ</span><span class='Number'>1</span> β¨ 0 1 2 2 0 3 β© @@ -16,15 +16,13 @@ β¨ 0 1 0 β© </pre> <h2 id="π¨--π©-index-of"><a class="header" href="#π¨--π©-index-of"><code><span class='Value'>π¨</span> <span class='Function'>β</span> <span class='Value'>π©</span></code>: Index Of</a></h2> -<p>First index of each major cell of <code><span class='Value'>π©</span></code> in <code><span class='Value'>π¨</span></code>. Rank of <code><span class='Value'>π©</span></code> must be at least cell rank of π¨`.</p> -<p>If a cell is not found in <code><span class='Value'>π¨</span></code>, that position will contain the length of <code><span class='Value'>π¨</span></code> (<code><span class='Function'>β </span><span class='Value'>π¨</span></code>).</p> -<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgNeKAvzbigL8y4oC/MuKAvzXigL8xIOKKkCA14oC/MuKAvzHigL82CgogICBiIOKGkCAz4oC/MyDipYogMOKAvzHigL8y4oC/OeKAvzDigL854oC/MOKAvzHigL8yCgogICBiIOKKkCDin6g54oC/MOKAvznin6k=">βοΈ</a><pre> <span class='Number'>5</span><span class='Ligature'>βΏ</span><span class='Number'>6</span><span class='Ligature'>βΏ</span><span class='Number'>2</span><span class='Ligature'>βΏ</span><span class='Number'>2</span><span class='Ligature'>βΏ</span><span class='Number'>5</span><span class='Ligature'>βΏ</span><span class='Number'>1</span> <span class='Function'>β</span> <span class='Number'>5</span><span class='Ligature'>βΏ</span><span class='Number'>2</span><span class='Ligature'>βΏ</span><span class='Number'>1</span><span class='Ligature'>βΏ</span><span class='Number'>6</span> -β¨ 0 2 5 1 β© +<p>First index of each major cell of <code><span class='Value'>π©</span></code> in <code><span class='Value'>π¨</span></code>. Rank of <code><span class='Value'>π©</span></code> must be at least cell rank of <code><span class='Value'>π¨</span></code>.</p> +<p>If a cell is not found in <code><span class='Value'>π¨</span></code>, the length of <code><span class='Value'>π¨</span></code> (<code><span class='Function'>β </span><span class='Value'>π¨</span></code>) is used for that position.</p> +<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgNeKAvzbigL8y4oC/MuKAvzXigL8xIOKKkCA14oC/N+KAvzHigL82CgogICBiIOKGkCAz4oC/MyDipYogMOKAvzHigL8y4oC/OeKAvzDigL854oC/MOKAvzHigL8yCgogICBiIOKKkCDiiY054oC/MOKAvzk=">βοΈ</a><pre> <span class='Number'>5</span><span class='Ligature'>βΏ</span><span class='Number'>6</span><span class='Ligature'>βΏ</span><span class='Number'>2</span><span class='Ligature'>βΏ</span><span class='Number'>2</span><span class='Ligature'>βΏ</span><span class='Number'>5</span><span class='Ligature'>βΏ</span><span class='Number'>1</span> <span class='Function'>β</span> <span class='Number'>5</span><span class='Ligature'>βΏ</span><span class='Number'>7</span><span class='Ligature'>βΏ</span><span class='Number'>1</span><span class='Ligature'>βΏ</span><span class='Number'>6</span> +β¨ 0 6 5 1 β© <span class='Value'>b</span> <span class='Gets'>β</span> <span class='Number'>3</span><span class='Ligature'>βΏ</span><span class='Number'>3</span> <span class='Function'>β₯</span> <span class='Number'>0</span><span class='Ligature'>βΏ</span><span class='Number'>1</span><span class='Ligature'>βΏ</span><span class='Number'>2</span><span class='Ligature'>βΏ</span><span class='Number'>9</span><span class='Ligature'>βΏ</span><span class='Number'>0</span><span class='Ligature'>βΏ</span><span class='Number'>9</span><span class='Ligature'>βΏ</span><span class='Number'>0</span><span class='Ligature'>βΏ</span><span class='Number'>1</span><span class='Ligature'>βΏ</span><span class='Number'>2</span> - <span class='Value'>b</span> <span class='Function'>β</span> <span class='Bracket'>β¨</span><span class='Number'>9</span><span class='Ligature'>βΏ</span><span class='Number'>0</span><span class='Ligature'>βΏ</span><span class='Number'>9</span><span class='Bracket'>β©</span> -βΒ· -Β· 3 - β + <span class='Value'>b</span> <span class='Function'>β</span> <span class='Function'>β</span><span class='Number'>9</span><span class='Ligature'>βΏ</span><span class='Number'>0</span><span class='Ligature'>βΏ</span><span class='Number'>9</span> +β¨ 1 β© </pre> diff --git a/docs/help/comment.html b/docs/help/comment.html index 725e4743..5f233682 100644 --- a/docs/help/comment.html +++ b/docs/help/comment.html @@ -6,7 +6,7 @@ <div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div> <h1 id="number-sign-"><a class="header" href="#number-sign-">Number Sign (<code><span class='Comment'>#</span></code>)</a></h1> <h2 id="-comment"><a class="header" href="#-comment"><code><span class='Comment'>#</span></code>: Comment</a></h2> -<p>Create a comment that extends till the end of a line.</p> +<p>Create a comment that extends to the end of the line.</p> <p>Anything written in comments is ignored.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=MSArIDIgIyArIDMgKyA0CgoiSGVsbG8gd29ybGQhIiAjIHRoaXMgaXMgaWdub3JlZCE=">βοΈ</a><pre> <span class='Number'>1</span> <span class='Function'>+</span> <span class='Number'>2</span> <span class='Comment'># + 3 + 4 </span>3 diff --git a/docs/help/conjugate_add.html b/docs/help/conjugate_add.html index c70fd1fb..90d6575d 100644 --- a/docs/help/conjugate_add.html +++ b/docs/help/conjugate_add.html @@ -6,6 +6,7 @@ <div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div> <h1 id="plus-"><a class="header" href="#plus-">Plus (<code><span class='Function'>+</span></code>)</a></h1> <h2 id="-π©-conjugate"><a class="header" href="#-π©-conjugate"><code><span class='Function'>+</span> <span class='Value'>π©</span></code>: Conjugate</a></h2> +<p>Complex conjugate of <code><span class='Value'>π©</span></code>. BQN doesn't support complex numbers yet, so it has no effect.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICArIDEKCiAgKyDCrzE=">βοΈ</a><pre> <span class='Function'>+</span> <span class='Number'>1</span> 1 diff --git a/docs/help/constant.html b/docs/help/constant.html index 7b0017f2..39d27160 100644 --- a/docs/help/constant.html +++ b/docs/help/constant.html @@ -7,9 +7,9 @@ <h1 id="dot-above-"><a class="header" href="#dot-above-">Dot Above (<code><span class='Modifier'>Λ</span></code>)</a></h1> <h2 id="π½-π©-π¨-π½-π©-constant"><a class="header" href="#π½-π©-π¨-π½-π©-constant"><code><span class='Function'>π½</span><span class='Modifier'>Λ</span> <span class='Value'>π©</span></code>, <code><span class='Value'>π¨</span> <span class='Function'>π½</span><span class='Modifier'>Λ</span> <span class='Value'>π©</span></code>: Constant</a></h2> <p>Returns a function that will always return <code><span class='Value'>π</span></code>.</p> -<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgImhlbGxvIiAoMSDLmSkgMgoKICAgImhlbGxvIiAoe/Cdlagr8J2VqX0gy5kpIDI=">βοΈ</a><pre> <span class='String'>"hello"</span> <span class='Paren'>(</span><span class='Number'>1</span> <span class='Modifier'>Λ</span><span class='Paren'>)</span> <span class='Number'>2</span> +<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgImhlbGxvIiAxy5kgMgoKICAgImhlbGxvIiB78J2VqCvwnZWpfcuZIDI=">βοΈ</a><pre> <span class='String'>"hello"</span> <span class='Number'>1</span><span class='Modifier'>Λ</span> <span class='Number'>2</span> 1 - <span class='String'>"hello"</span> <span class='Paren'>(</span><span class='Brace'>{</span><span class='Value'>π¨</span><span class='Function'>+</span><span class='Value'>π©</span><span class='Brace'>}</span> <span class='Modifier'>Λ</span><span class='Paren'>)</span> <span class='Number'>2</span> + <span class='String'>"hello"</span> <span class='Brace'>{</span><span class='Value'>π¨</span><span class='Function'>+</span><span class='Value'>π©</span><span class='Brace'>}</span><span class='Modifier'>Λ</span> <span class='Number'>2</span> (function block) </pre> diff --git a/docs/help/currentfunction.html b/docs/help/currentfunction.html index 8aa11806..6da30ed7 100644 --- a/docs/help/currentfunction.html +++ b/docs/help/currentfunction.html @@ -6,7 +6,7 @@ <div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div> <h1 id="mathematical-double-struck-s-π"><a class="header" href="#mathematical-double-struck-s-π">Mathematical Double-struck S (<code><span class='Function'>π</span></code>)</a></h1> <h2 id="π-current-function"><a class="header" href="#π-current-function"><code><span class='Function'>π</span></code>: Current Function</a></h2> -<p>A variable assigned to the current function block. <code><span class='Value'>π€</span></code> can be used to access the current function block as a subject.</p> +<p>A variable assigned to the current function block. <code><span class='Value'>π€</span></code> accesses the same value but has a subject role.</p> <p><code><span class='Function'>π</span></code> can be used for recursion.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=RiDihpAge/CdlYogMDogMTsg8J2VqSDDlyDwnZWKIPCdlaktMX0gIyBGYWN0b3JpYWwKRiA1Cgp78J2VpOKAv/CdlaR9NA==">βοΈ</a><pre> <span class='Function'>F</span> <span class='Gets'>β</span> <span class='Brace'>{</span><span class='Function'>π</span> <span class='Number'>0</span><span class='Value'>:</span> <span class='Number'>1</span><span class='Value'>;</span> <span class='Value'>π©</span> <span class='Function'>Γ</span> <span class='Function'>π</span> <span class='Value'>π©</span><span class='Function'>-</span><span class='Number'>1</span><span class='Brace'>}</span> <span class='Comment'># Factorial </span> <span class='Function'>F</span> <span class='Number'>5</span> diff --git a/docs/help/currentmodifier.html b/docs/help/currentmodifier.html index 1ee9782b..e0eaf69b 100644 --- a/docs/help/currentmodifier.html +++ b/docs/help/currentmodifier.html @@ -6,7 +6,7 @@ <div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div> <h1 id="mathematical-double-struck-r-π£"><a class="header" href="#mathematical-double-struck-r-π£">Mathematical Double-struck R (<code><span class='Value'>π£</span></code>)</a></h1> <h2 id="π£-current-modifier"><a class="header" href="#π£-current-modifier"><code><span class='Value'>π£</span></code>: Current Modifier</a></h2> -<p>A variable assigned to the current modifier block. Underscores must be added to the beginning and/or end (<code><span class='Modifier'>_π£</span></code>, <code><span class='Modifier2'>_π£_</span></code>) to use the modifier with the correct role.</p> +<p>A variable assigned to the current modifier block. Add underscores to the beginning and/or end (<code><span class='Modifier'>_π£</span></code>, <code><span class='Modifier2'>_π£_</span></code>) to use it in a modifier role.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=K3vwnZWj4oqj8J2VqX0gNA==">βοΈ</a><pre> <span class='Function'>+</span><span class='Brace'>{</span><span class='Value'>π£</span><span class='Function'>β£</span><span class='Value'>π©</span><span class='Brace'>}</span> <span class='Number'>4</span> (1-modifier block) </pre> diff --git a/docs/help/define.html b/docs/help/define.html index 8e49ea1e..48b455e6 100644 --- a/docs/help/define.html +++ b/docs/help/define.html @@ -7,7 +7,7 @@ <h1 id="leftwards-arrow-"><a class="header" href="#leftwards-arrow-">Leftwards Arrow (<code><span class='Gets'>β</span></code>)</a></h1> <h2 id="n--v-define"><a class="header" href="#n--v-define"><code><span class='Value'>n</span> <span class='Gets'>β</span> <span class='Value'>v</span></code>: Define</a></h2> <p>Defines a new variable with name <code><span class='Value'>n</span></code> and value <code><span class='Value'>v</span></code>.</p> -<p>Variable <code><span class='Value'>n</span></code> must not already exist.</p> +<p>Variable <code><span class='Value'>n</span></code> must not already exist in the scope.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=4oqiIGEg4oaQIDEKCuKKoiBiIOKGkCAz4oC/MyDipYogNQoKQyDihpAg4oaR">βοΈ</a><pre> <span class='Function'>β’</span> <span class='Value'>a</span> <span class='Gets'>β</span> <span class='Number'>1</span> 1 diff --git a/docs/help/deshape_reshape.html b/docs/help/deshape_reshape.html index 7c6896b1..e4a4b266 100644 --- a/docs/help/deshape_reshape.html +++ b/docs/help/deshape_reshape.html @@ -6,7 +6,7 @@ <div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div> <h1 id="barb-"><a class="header" href="#barb-">Barb (<code><span class='Function'>β₯</span></code>)</a></h1> <h2 id="-π©-deshape"><a class="header" href="#-π©-deshape"><code><span class='Function'>β₯</span> <span class='Value'>π©</span></code>: Deshape</a></h2> -<p>Put all elements of <code><span class='Value'>π©</span></code> in a rank 1 array, converting to array if necessary.</p> +<p>Put all elements of <code><span class='Value'>π©</span></code> in a rank 1 array, promoting to an array if necessary.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgICAg4qWKIDEKCiAgICAgIOKliiAx4oC/MiDiiY0gM+KAvzQ=">βοΈ</a><pre> <span class='Function'>β₯</span> <span class='Number'>1</span> β¨ 1 β© @@ -14,7 +14,7 @@ β¨ 1 2 3 4 β© </pre> <h2 id="π¨--π©-reshape"><a class="header" href="#π¨--π©-reshape"><code><span class='Value'>π¨</span> <span class='Function'>β₯</span> <span class='Value'>π©</span></code>: Reshape</a></h2> -<p>Put all elements of <code><span class='Value'>π©</span></code> in an array of shape <code><span class='Value'>π¨</span></code>, adding or removing elements if necessary.</p> +<p>Put all elements of <code><span class='Value'>π©</span></code> in an array of shape <code><span class='Value'>π¨</span></code>, removing elements or repeating them cyclically if necessary.</p> <p>A single element in <code><span class='Value'>π©</span></code> can be a function, which will be replaced with an appropriate length:</p> <ul> <li><code><span class='Modifier2'>β</span></code> Exact fit</li> diff --git a/docs/help/each.html b/docs/help/each.html index eb12ff29..847fb59e 100644 --- a/docs/help/each.html +++ b/docs/help/each.html @@ -6,7 +6,7 @@ <div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div> <h1 id="diaresis-"><a class="header" href="#diaresis-">Diaresis (<code><span class='Modifier'>Β¨</span></code>)</a></h1> <h2 id="π½-π©-π¨-π½-π©-each"><a class="header" href="#π½-π©-π¨-π½-π©-each"><code><span class='Function'>π½</span><span class='Modifier'>Β¨</span> <span class='Value'>π©</span></code>, <code><span class='Value'>π¨</span> <span class='Function'>π½</span><span class='Modifier'>Β¨</span> <span class='Value'>π©</span></code>: Each</a></h2> -<p>Apply <code><span class='Function'>π½</span></code> to/between the major elements of the arguments. (<code><span class='Function'>π½</span><span class='Modifier2'>β</span><span class='Number'>Β―1</span></code>)</p> +<p>Apply <code><span class='Function'>π½</span></code> to/between the elements of the arguments. (<code><span class='Function'>π½</span><span class='Modifier2'>β</span><span class='Number'>Β―1</span></code>)</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgPMKoIDHigL8y4oC/MwoKICAgNOKAvzXigL82IOKIvsKoIDHigL8y4oC/Mw==">βοΈ</a><pre> <span class='Function'><</span><span class='Modifier'>Β¨</span> <span class='Number'>1</span><span class='Ligature'>βΏ</span><span class='Number'>2</span><span class='Ligature'>βΏ</span><span class='Number'>3</span> ββ Β· βΒ· βΒ· βΒ· diff --git a/docs/help/enclose_lessthan.html b/docs/help/enclose_lessthan.html index 31329115..cd25e124 100644 --- a/docs/help/enclose_lessthan.html +++ b/docs/help/enclose_lessthan.html @@ -6,7 +6,7 @@ <div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div> <h1 id="lesser-than-"><a class="header" href="#lesser-than-">Lesser Than (<code><span class='Function'><</span></code>)</a></h1> <h2 id="-π©-enclose"><a class="header" href="#-π©-enclose"><code><span class='Function'><</span> <span class='Value'>π©</span></code>: Enclose</a></h2> -<p>Create a unit array containing <code><span class='Value'>π©</span></code>. (<code><span class='Paren'>(</span><span class='Function'>β’</span><span class='Value'>π©</span><span class='Paren'>)</span> <span class='Function'>β‘</span> <span class='Bracket'>β¨β©</span></code>)</p> +<p>Create a unit array containing <code><span class='Value'>π©</span></code>. (<code><span class='Paren'>(</span><span class='Function'>β’<</span><span class='Value'>π©</span><span class='Paren'>)</span> <span class='Function'>β‘</span> <span class='Bracket'>β¨β©</span></code>)</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICA8MQoKCiAg4omiPDE=">βοΈ</a><pre> <span class='Function'><</span><span class='Number'>1</span> βΒ· Β· 1 diff --git a/docs/help/export.html b/docs/help/export.html index 5fbbef78..4b16243d 100644 --- a/docs/help/export.html +++ b/docs/help/export.html @@ -6,7 +6,7 @@ <div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div> <h1 id="leftward-double-arrow-"><a class="header" href="#leftward-double-arrow-">Leftward Double Arrow (<code><span class='Gets'>β</span></code>)</a></h1> <h2 id="n--v-export-definition"><a class="header" href="#n--v-export-definition"><code><span class='Value'>n</span> <span class='Gets'>β</span> <span class='Value'>v</span></code>: Export Definition</a></h2> -<p>Define a variable with name <code><span class='Value'>n</span></code> and export it from the current namespace or program's scope.</p> +<p>Define a variable with name <code><span class='Value'>n</span></code> and export it from the current namespace.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=bnMg4oaQIHsgZXhwb3J0ZWQg4oeQIDUsIHVuZXhwb3J0ZWQg4oaQIDB9Cm5zLmV4cG9ydGVkCm5zLnVuZXhwb3J0ZWQ=">βοΈ</a><pre> <span class='Value'>ns</span> <span class='Gets'>β</span> <span class='Brace'>{</span> <span class='Value'>exported</span> <span class='Gets'>β</span> <span class='Number'>5</span><span class='Separator'>,</span> <span class='Value'>unexported</span> <span class='Gets'>β</span> <span class='Number'>0</span><span class='Brace'>}</span> <span class='Value'>ns.exported</span> 5 @@ -14,7 +14,7 @@ <span class='Error'>Error: No key found</span> </pre> <h2 id="π¨--export-names"><a class="header" href="#π¨--export-names"><code><span class='Value'>π¨</span> <span class='Gets'>β</span></code>: Export names</a></h2> -<p>Export the names given in <code><span class='Value'>π©</span></code> from the current namespace or program's scope. Names must be defined.</p> +<p>Export the names given in <code><span class='Value'>π©</span></code> from the current namespace. Names must be defined somewhere in the scope.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=bnMxIOKGkCB7IOKfqGFsc29leHBvcnRlZOKfqeKHkCwgZXhwb3J0ZWQg4oeQIDUsIGFsc29leHBvcnRlZCDihpAgMH0KbnMxLmV4cG9ydGVkCm5zMS5hbHNvZXhwb3J0ZWQ=">βοΈ</a><pre> <span class='Value'>ns1</span> <span class='Gets'>β</span> <span class='Brace'>{</span> <span class='Bracket'>β¨</span><span class='Value'>alsoexported</span><span class='Bracket'>β©</span><span class='Gets'>β</span><span class='Separator'>,</span> <span class='Value'>exported</span> <span class='Gets'>β</span> <span class='Number'>5</span><span class='Separator'>,</span> <span class='Value'>alsoexported</span> <span class='Gets'>β</span> <span class='Number'>0</span><span class='Brace'>}</span> <span class='Value'>ns1.exported</span> 5 diff --git a/docs/help/floor_minimum.html b/docs/help/floor_minimum.html index 92d6135e..80311137 100644 --- a/docs/help/floor_minimum.html +++ b/docs/help/floor_minimum.html @@ -6,7 +6,7 @@ <div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div> <h1 id="left-floor-"><a class="header" href="#left-floor-">Left Floor (<code><span class='Function'>β</span></code>)</a></h1> <h2 id="-π©-floor"><a class="header" href="#-π©-floor"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: Floor</a></h2> -<p>Round <code><span class='Value'>π©</span></code> down.</p> +<p>Round <code><span class='Value'>π©</span></code> down to the nearest integer.</p> <p><a href="../doc/arithmetic.html#pervasion">Pervasive.</a></p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICDijIogMS4y4oC/z4DigL8z4oC/Ny44OQ==">βοΈ</a><pre> <span class='Function'>β</span> <span class='Number'>1.2</span><span class='Ligature'>βΏ</span><span class='Number'>Ο</span><span class='Ligature'>βΏ</span><span class='Number'>3</span><span class='Ligature'>βΏ</span><span class='Number'>7.89</span> β¨ 1 3 3 7 β© diff --git a/docs/help/fold.html b/docs/help/fold.html index 4737c9a8..e771ca60 100644 --- a/docs/help/fold.html +++ b/docs/help/fold.html @@ -20,7 +20,7 @@ <span class='Number'>1</span><span class='Function'>-</span><span class='Number'>2</span><span class='Function'>-</span><span class='Number'>3</span> 2 </pre> -<h2 id="π¨-π½-π©-fold-with-initial"><a class="header" href="#π¨-π½-π©-fold-with-initial"><code><span class='Value'>π¨</span> <span class='Function'>π½</span><span class='Modifier'>Β΄</span> <span class='Value'>π©</span></code>: Fold With initial</a></h2> +<h2 id="π¨-π½-π©-fold-with-initial"><a class="header" href="#π¨-π½-π©-fold-with-initial"><code><span class='Value'>π¨</span> <span class='Function'>π½</span><span class='Modifier'>Β΄</span> <span class='Value'>π©</span></code>: Fold With Initial</a></h2> <p>Monadic fold, but use <code><span class='Value'>π¨</span></code> as initial right argument.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgNSArwrQgMeKAvzLigL8zCgogICAxKzIrMys1CgogICA1IC3CtCAx4oC/MuKAvzMKCiAgIDEtMi0zLTU=">βοΈ</a><pre> <span class='Number'>5</span> <span class='Function'>+</span><span class='Modifier'>Β΄</span> <span class='Number'>1</span><span class='Ligature'>βΏ</span><span class='Number'>2</span><span class='Ligature'>βΏ</span><span class='Number'>3</span> 11 diff --git a/docs/help/gradedown_binsdown.html b/docs/help/gradedown_binsdown.html index 2491ab57..24a10693 100644 --- a/docs/help/gradedown_binsdown.html +++ b/docs/help/gradedown_binsdown.html @@ -16,7 +16,7 @@ β¨ 3 2 1 β© </pre> <h2 id="π¨--π©-bins-down"><a class="header" href="#π¨--π©-bins-down"><code><span class='Value'>π¨</span> <span class='Function'>β</span> <span class='Value'>π©</span></code>: Bins Down</a></h2> -<p>Binary search for each element of <code><span class='Value'>π©</span></code> in <code><span class='Value'>π¨</span></code>, and return the index found, if any.</p> +<p>Binary search for each cell of <code><span class='Value'>π©</span></code> in <code><span class='Value'>π¨</span></code>, returning the number of major cells in <code><span class='Value'>π¨</span></code> greater than or equal to that cell.</p> <p><code><span class='Value'>π¨</span></code> must be sorted in descending order.</p> <p><a href="../doc/arithmetic.html#pervasion">Right Pervasive.</a></p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgN+KAvzXigL804oC/MyDijZIgMgoKICAgN+KAvzXigL804oC/MyDijZIgMuKAvzY=">βοΈ</a><pre> <span class='Number'>7</span><span class='Ligature'>βΏ</span><span class='Number'>5</span><span class='Ligature'>βΏ</span><span class='Number'>4</span><span class='Ligature'>βΏ</span><span class='Number'>3</span> <span class='Function'>β</span> <span class='Number'>2</span> diff --git a/docs/help/gradeup_binsup.html b/docs/help/gradeup_binsup.html index 580798e9..2f2668e7 100644 --- a/docs/help/gradeup_binsup.html +++ b/docs/help/gradeup_binsup.html @@ -16,7 +16,7 @@ β¨ 1 2 3 β© </pre> <h2 id="π¨--π©-bins-up"><a class="header" href="#π¨--π©-bins-up"><code><span class='Value'>π¨</span> <span class='Function'>β</span> <span class='Value'>π©</span></code>: Bins Up</a></h2> -<p>Binary search for each element of <code><span class='Value'>π©</span></code> in <code><span class='Value'>π¨</span></code>, and return the index found, if any.</p> +<p>Binary search for each cell of <code><span class='Value'>π©</span></code> in <code><span class='Value'>π¨</span></code>, returning the number of major cells in <code><span class='Value'>π¨</span></code> less than or equal to that cell.</p> <p><code><span class='Value'>π¨</span></code> must be sorted in ascending order.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgM+KAvzTigL814oC/NyDijYsgMgoKICAgM+KAvzTigL814oC/NyDijYsgMuKAvzY=">βοΈ</a><pre> <span class='Number'>3</span><span class='Ligature'>βΏ</span><span class='Number'>4</span><span class='Ligature'>βΏ</span><span class='Number'>5</span><span class='Ligature'>βΏ</span><span class='Number'>7</span> <span class='Function'>β</span> <span class='Number'>2</span> βΒ· diff --git a/docs/help/index.html b/docs/help/index.html index a47d3eda..34424c90 100644 --- a/docs/help/index.html +++ b/docs/help/index.html @@ -147,10 +147,6 @@ <td><a href="export.html">Export Definition, Export names</a></td> </tr> <tr> -<td><code><span class='Value'>.</span></code></td> -<td><a href="field.html">Namespace Field</a></td> -</tr> -<tr> <td><code><span class='Function'>β</span></code></td> <td><a href="firstcell_select.html">First Cell, Select</a></td> </tr> @@ -164,7 +160,7 @@ </tr> <tr> <td><code><span class='Modifier'>Β΄</span></code></td> -<td><a href="fold.html">Fold, Fold With initial</a></td> +<td><a href="fold.html">Fold, Fold With Initial</a></td> </tr> <tr> <td><code><span class='Function'>β</span></code></td> @@ -200,11 +196,11 @@ </tr> <tr> <td><code><span class='Modifier'>Λ</span></code></td> -<td><a href="insert.html">Insert, Insert With initial</a></td> +<td><a href="insert.html">Insert, Insert With Initial</a></td> </tr> <tr> <td><code><span class='Function'>βΎ</span></code></td> -<td><a href="join_jointo.html">Join, Join</a></td> +<td><a href="join_jointo.html">Join, Join To</a></td> </tr> <tr> <td><code><span class='Value'>π¨</span></code></td> @@ -220,7 +216,7 @@ </tr> <tr> <td><code><span class='Function'>β</span></code></td> -<td><a href="markfirst_memberof.html">Unique Mask, Member Of</a></td> +<td><a href="markfirst_memberof.html">Mark Firsts, Member Of</a></td> </tr> <tr> <td><code><span class='Function'>></span></code></td> @@ -235,6 +231,10 @@ <td><a href="modifierleftoperand.html">Modifier Left operand</a></td> </tr> <tr> +<td><code><span class='Value'>.</span></code></td> +<td><a href="namespacefield.html">Namespace Field</a></td> +</tr> +<tr> <td><code><span class='Function'>-</span></code></td> <td><a href="negate_subtract.html">Negate, Subtract</a></td> </tr> @@ -288,7 +288,7 @@ </tr> <tr> <td><code><span class='Function'>β½</span></code></td> -<td><a href="reverse_rotate.html">Reverse, Dyad</a></td> +<td><a href="reverse_rotate.html">Reverse, Rotate</a></td> </tr> <tr> <td><code><span class='Value'>π©</span></code></td> @@ -303,11 +303,7 @@ <td><a href="self_swap.html">Self, Swap</a></td> </tr> <tr> -<td><code><span class='Separator'>,</span></code></td> -<td><a href="separator1.html">Separator</a></td> -</tr> -<tr> -<td><code><span class='Separator'>β</span></code></td> +<td><code><span class='Separator'>,</span></code> or <code><span class='Separator'>β</span></code></td> <td><a href="separator.html">Separator</a></td> </tr> <tr> @@ -356,7 +352,7 @@ </tr> <tr> <td><code><span class='Modifier'>β</span></code></td> -<td><a href="table.html">Each</a></td> +<td><a href="table.html">Table</a></td> </tr> <tr> <td><code><span class='Function'>β</span></code></td> diff --git a/docs/help/indices_replicate.html b/docs/help/indices_replicate.html index 56590c4d..0f943ccf 100644 --- a/docs/help/indices_replicate.html +++ b/docs/help/indices_replicate.html @@ -15,7 +15,7 @@ </pre> <h2 id="π¨--π©-replicate"><a class="header" href="#π¨--π©-replicate"><code><span class='Value'>π¨</span> <span class='Function'>/</span> <span class='Value'>π©</span></code>: Replicate</a></h2> <p>Repeat each major cell in <code><span class='Value'>π©</span></code> by the corresponding element in <code><span class='Value'>π¨</span></code>.</p> -<p>Atomic <code><span class='Value'>π¨</span></code> applies to all elements.</p> +<p>Unit <code><span class='Value'>π¨</span></code> applies to all elements.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgMyAvICJjb3B5IgoKICAgMeKAvzDigL8xIC8gMeKAvzLigL8z">βοΈ</a><pre> <span class='Number'>3</span> <span class='Function'>/</span> <span class='String'>"copy"</span> "cccooopppyyy" diff --git a/docs/help/infinity.html b/docs/help/infinity.html index 7aaa1bdd..8f6f1a6d 100644 --- a/docs/help/infinity.html +++ b/docs/help/infinity.html @@ -6,7 +6,7 @@ <div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div> <h1 id="infinity-"><a class="header" href="#infinity-">Infinity (<code><span class='Number'>β</span></code>)</a></h1> <h2 id="-infinity"><a class="header" href="#-infinity"><code><span class='Number'>β</span></code>: Infinity</a></h2> -<p>Mathematical constant Infinity. Shares the same status as other numbers, can be negative (<code><span class='Number'>Β―β</span></code>).</p> +<p>Mathematical constant Infinity, a numeric literal. Can be negative (<code><span class='Number'>Β―β</span></code>).</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=4oieCgrCr+KIngoKMSviiJ4=">βοΈ</a><pre> <span class='Number'>β</span> β diff --git a/docs/help/insert.html b/docs/help/insert.html index 1206deed..5a01cd21 100644 --- a/docs/help/insert.html +++ b/docs/help/insert.html @@ -6,7 +6,7 @@ <div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div> <h1 id="double-acute-accent-"><a class="header" href="#double-acute-accent-">Double Acute Accent (<code><span class='Modifier'>Λ</span></code>)</a></h1> <h2 id="π½-π©-insert"><a class="header" href="#π½-π©-insert"><code><span class='Function'>π½</span><span class='Modifier'>Λ</span> <span class='Value'>π©</span></code>: Insert</a></h2> -<p>Fold over <code><span class='Value'>π©</span></code> with <code><span class='Function'>π½</span></code> from right to left i.e. Insert <code><span class='Function'>π½</span></code> between the major cells of <code><span class='Value'>π©</span></code>.</p> +<p>Fold over cells of <code><span class='Value'>π©</span></code> with <code><span class='Function'>π½</span></code> from end to start, that is, insert <code><span class='Function'>π½</span></code> between the major cells of <code><span class='Value'>π©</span></code>.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgYSDihpAgM+KAvzMg4qWKIOKGlTkKCiAgICvLnSBhCgogICAw4oC/MeKAvzIgKyAz4oC/NOKAvzUgKyA24oC/N+KAvzg=">βοΈ</a><pre> <span class='Value'>a</span> <span class='Gets'>β</span> <span class='Number'>3</span><span class='Ligature'>βΏ</span><span class='Number'>3</span> <span class='Function'>β₯</span> <span class='Function'>β</span><span class='Number'>9</span> <span class='Function'>+</span><span class='Modifier'>Λ</span> <span class='Value'>a</span> @@ -15,7 +15,7 @@ <span class='Number'>0</span><span class='Ligature'>βΏ</span><span class='Number'>1</span><span class='Ligature'>βΏ</span><span class='Number'>2</span> <span class='Function'>+</span> <span class='Number'>3</span><span class='Ligature'>βΏ</span><span class='Number'>4</span><span class='Ligature'>βΏ</span><span class='Number'>5</span> <span class='Function'>+</span> <span class='Number'>6</span><span class='Ligature'>βΏ</span><span class='Number'>7</span><span class='Ligature'>βΏ</span><span class='Number'>8</span> β¨ 9 12 15 β© </pre> -<h2 id="π¨-π½-π©-insert-with-initial"><a class="header" href="#π¨-π½-π©-insert-with-initial"><code><span class='Value'>π¨</span> <span class='Function'>π½</span><span class='Modifier'>Λ</span> <span class='Value'>π©</span></code>: Insert With initial</a></h2> +<h2 id="π¨-π½-π©-insert-with-initial"><a class="header" href="#π¨-π½-π©-insert-with-initial"><code><span class='Value'>π¨</span> <span class='Function'>π½</span><span class='Modifier'>Λ</span> <span class='Value'>π©</span></code>: Insert With Initial</a></h2> <p>Monadic insert, but use <code><span class='Value'>π¨</span></code> as initial right argument.</p> <p>If</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgYiDihpAgM+KAvzMg4qWKIOKGlTkKCiAgIDHigL8x4oC/MSAry50gYgoKICAgMSAry50gYgoKICAgMOKAvzHigL8yICsgM+KAvzTigL81ICsgNuKAvzfigL84ICsgMeKAvzHigL8x">βοΈ</a><pre> <span class='Value'>b</span> <span class='Gets'>β</span> <span class='Number'>3</span><span class='Ligature'>βΏ</span><span class='Number'>3</span> <span class='Function'>β₯</span> <span class='Function'>β</span><span class='Number'>9</span> diff --git a/docs/help/join_jointo.html b/docs/help/join_jointo.html index 46cd0df2..5e324aab 100644 --- a/docs/help/join_jointo.html +++ b/docs/help/join_jointo.html @@ -21,7 +21,7 @@ 3 3 3 3 4 4 5 5 5 5 5 β </pre> -<h2 id="π¨--π©-join"><a class="header" href="#π¨--π©-join"><code><span class='Value'>π¨</span> <span class='Function'>βΎ</span> <span class='Value'>π©</span></code>: Join</a></h2> +<h2 id="π¨--π©-join-to"><a class="header" href="#π¨--π©-join-to"><code><span class='Value'>π¨</span> <span class='Function'>βΎ</span> <span class='Value'>π©</span></code>: Join To</a></h2> <p>Join <code><span class='Value'>π¨</span></code> to <code><span class='Value'>π©</span></code> along the first axis.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgImFiY2QiIOKIviAiRUZHIgoKICAgYSDihpAgM+KAvzMg4qWKIOKGlTkKCiAgIGMg4oaQIDTigL8zIOKliiDihpUxMgoKICAgYeKIvmM=">βοΈ</a><pre> <span class='String'>"abcd"</span> <span class='Function'>βΎ</span> <span class='String'>"EFG"</span> "abcdEFG" diff --git a/docs/help/markfirst_memberof.html b/docs/help/markfirst_memberof.html index 10dfc4e7..e3e82512 100644 --- a/docs/help/markfirst_memberof.html +++ b/docs/help/markfirst_memberof.html @@ -5,7 +5,7 @@ </head> <div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div> <h1 id="element-of-"><a class="header" href="#element-of-">Element Of (<code><span class='Function'>β</span></code>)</a></h1> -<h2 id="-π©-unique-mask"><a class="header" href="#-π©-unique-mask"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: Unique Mask</a></h2> +<h2 id="-π©-mark-firsts"><a class="header" href="#-π©-mark-firsts"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: Mark Firsts</a></h2> <p>Mark the first occurrence of each major cell in <code><span class='Value'>π©</span></code> with a 1, and all other occurrences with a 0.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAg4oiKIDTigL814oC/NuKAvzbigL804oC/N+KAvzUKCiAgIGEg4oaQIDPigL8zIOKliiDihpU5CgogICDiiIogYQ==">βοΈ</a><pre> <span class='Function'>β</span> <span class='Number'>4</span><span class='Ligature'>βΏ</span><span class='Number'>5</span><span class='Ligature'>βΏ</span><span class='Number'>6</span><span class='Ligature'>βΏ</span><span class='Number'>6</span><span class='Ligature'>βΏ</span><span class='Number'>4</span><span class='Ligature'>βΏ</span><span class='Number'>7</span><span class='Ligature'>βΏ</span><span class='Number'>5</span> β¨ 1 1 1 0 0 1 0 β© @@ -16,7 +16,7 @@ β¨ 1 1 1 β© </pre> <h2 id="π¨--π©-member-of"><a class="header" href="#π¨--π©-member-of"><code><span class='Value'>π¨</span> <span class='Function'>β</span> <span class='Value'>π©</span></code>: Member Of</a></h2> -<p>Is each element in <code><span class='Value'>π¨</span></code> a major cell of <code><span class='Value'>π©</span></code>?</p> +<p>Is each cell in <code><span class='Value'>π¨</span></code> a major cell of <code><span class='Value'>π©</span></code>?</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAg4p+oMeKfqSDiiIog4oaVOQoKICAgYiDihpAgM+KAvzMg4qWKIOKGlTkKCiAgIOKfqDDigL8x4oC/MuKfqSDiiIogYgoKICAg4p+oMeKAvzMg4qWKIDDigL8x4oC/MuKfqSDiiIogYg==">βοΈ</a><pre> <span class='Bracket'>β¨</span><span class='Number'>1</span><span class='Bracket'>β©</span> <span class='Function'>β</span> <span class='Function'>β</span><span class='Number'>9</span> β¨ 1 β© diff --git a/docs/help/negate_subtract.html b/docs/help/negate_subtract.html index 91c689cf..cd2b52e4 100644 --- a/docs/help/negate_subtract.html +++ b/docs/help/negate_subtract.html @@ -15,7 +15,7 @@ 1 </pre> <h2 id="π¨---π©-subtract"><a class="header" href="#π¨---π©-subtract"><code><span class='Value'>π¨</span> <span class='Function'>-</span> <span class='Value'>π©</span></code>: Subtract</a></h2> -<p>Subtract <code><span class='Value'>π©</span></code> from <code><span class='Value'>π¨</span></code>. <code><span class='Value'>π¨</span></code> and <code><span class='Value'>π©</span></code> can be characters or integers.</p> +<p>Subtract <code><span class='Value'>π©</span></code> from <code><span class='Value'>π¨</span></code>. <code><span class='Value'>π¨</span></code> and <code><span class='Value'>π©</span></code> can be characters or numbers.</p> <p><a href="../doc/arithmetic.html#pervasion">Pervasive.</a></p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAxIC0gMgoKICAxIC0gMuKAvzPigL80CgogICdhJyAtIDQKCiAgJ2InIC0gJ2En">βοΈ</a><pre> <span class='Number'>1</span> <span class='Function'>-</span> <span class='Number'>2</span> Β―1 diff --git a/docs/help/nullcharacter.html b/docs/help/nullcharacter.html index 506cfcf6..753d2d3c 100644 --- a/docs/help/nullcharacter.html +++ b/docs/help/nullcharacter.html @@ -6,8 +6,8 @@ <div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div> <h1 id="commercial-at-"><a class="header" href="#commercial-at-">Commercial At (<code><span class='String'>@</span></code>)</a></h1> <h2 id="-null-character"><a class="header" href="#-null-character"><code><span class='String'>@</span></code>: Null Character</a></h2> -<p>Null character, codepoint 0 in ASCII. Has the status of any other character.</p> -<p>Can be added to any positive integer to get its character equivalent.</p> +<p>Null character, code point 0 in ASCII. A shortcut character literal.</p> +<p>Add to a code point number to get that character.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=QCs1MAoKQAoKQCs2NA==">βοΈ</a><pre> <span class='String'>@</span><span class='Function'>+</span><span class='Number'>50</span> '2' diff --git a/docs/help/occurrencecount_progressiveindexof.html b/docs/help/occurrencecount_progressiveindexof.html index 8bace1ab..77b1a84a 100644 --- a/docs/help/occurrencecount_progressiveindexof.html +++ b/docs/help/occurrencecount_progressiveindexof.html @@ -6,7 +6,7 @@ <div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div> <h1 id="square-original-of-or-equal-to-"><a class="header" href="#square-original-of-or-equal-to-">Square Original Of or Equal To (<code><span class='Function'>β</span></code>)</a></h1> <h2 id="-π©-occurrence-count"><a class="header" href="#-π©-occurrence-count"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: Occurrence Count</a></h2> -<p>Number of times each major cell of <code><span class='Value'>π©</span></code> appears before itself.</p> +<p>Number of times each major cell of <code><span class='Value'>π©</span></code> has occurred before the current position.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgIOKKkiAgIDLigL834oC/MeKAvzjigL8x4oC/N+KAvzHigL844oC/MuKAvzjigL80CgogICAg4omN4p+c4oqSIDLigL834oC/MeKAvzjigL8x4oC/N+KAvzHigL844oC/MuKAvzjigL80">βοΈ</a><pre> <span class='Function'>β</span> <span class='Number'>2</span><span class='Ligature'>βΏ</span><span class='Number'>7</span><span class='Ligature'>βΏ</span><span class='Number'>1</span><span class='Ligature'>βΏ</span><span class='Number'>8</span><span class='Ligature'>βΏ</span><span class='Number'>1</span><span class='Ligature'>βΏ</span><span class='Number'>7</span><span class='Ligature'>βΏ</span><span class='Number'>1</span><span class='Ligature'>βΏ</span><span class='Number'>8</span><span class='Ligature'>βΏ</span><span class='Number'>2</span><span class='Ligature'>βΏ</span><span class='Number'>8</span><span class='Ligature'>βΏ</span><span class='Number'>4</span> β¨ 0 0 0 0 1 1 2 1 1 2 0 β© @@ -17,7 +17,7 @@ β </pre> <h2 id="π¨--π©-progressive-index-of"><a class="header" href="#π¨--π©-progressive-index-of"><code><span class='Value'>π¨</span> <span class='Function'>β</span> <span class='Value'>π©</span></code>: Progressive Index Of</a></h2> -<p>Index of the first unused match of each major cell of <code><span class='Value'>π©</span></code> in <code><span class='Value'>π¨</span></code>. If there are no more matches left, length of <code><span class='Value'>π¨</span></code> is placed in that position.</p> +<p>Index of the first unused match of each major cell of <code><span class='Value'>π©</span></code> in <code><span class='Value'>π¨</span></code>. If there are no more matches left, the length of <code><span class='Value'>π¨</span></code> is placed in that position.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgICJhYWEiIOKKkiAiYWFhYWEiCgogICAgImFhYWJiIiDiipIgImFiYWJhYmFiYWIi">βοΈ</a><pre> <span class='String'>"aaa"</span> <span class='Function'>β</span> <span class='String'>"aaaaa"</span> β¨ 0 1 2 3 3 β© diff --git a/docs/help/pi.html b/docs/help/pi.html index 1ed7b0b5..0dd7e8bd 100644 --- a/docs/help/pi.html +++ b/docs/help/pi.html @@ -6,7 +6,7 @@ <div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div> <h1 id="pi-Ο"><a class="header" href="#pi-Ο">Pi (<code><span class='Number'>Ο</span></code>)</a></h1> <h2 id="Ο-pi"><a class="header" href="#Ο-pi"><code><span class='Number'>Ο</span></code>: Pi</a></h2> -<p>Mathematical constant pi. Shares the same status as other numbers, can be negative (<code><span class='Number'>Β―Ο</span></code>).</p> +<p>The mathematical constant pi, a numeric literal. Can be negative (<code><span class='Number'>Β―Ο</span></code>).</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=z4AKCsKvz4A=">βοΈ</a><pre> <span class='Number'>Ο</span> 3.141592653589793 diff --git a/docs/help/range_windows.html b/docs/help/range_windows.html index e480c331..830c0fe0 100644 --- a/docs/help/range_windows.html +++ b/docs/help/range_windows.html @@ -6,8 +6,8 @@ <div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div> <h1 id="up-down-arrow-"><a class="header" href="#up-down-arrow-">Up Down Arrow (<code><span class='Function'>β</span></code>)</a></h1> <h2 id="-π©-range"><a class="header" href="#-π©-range"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: Range</a></h2> -<p>Return all indices to index into an array of shape <code><span class='Value'>π©</span></code>, in the shape described by <code><span class='Value'>π©</span></code>.</p> -<p>When given a single number, range from 0 to <code><span class='Value'>π©</span><span class='Function'>-</span><span class='Number'>1</span></code>.</p> +<p>Return all indices that would index into an array of shape <code><span class='Value'>π©</span></code>.</p> +<p>When given a single number, range from <code><span class='Number'>0</span></code> to <code><span class='Value'>π©</span><span class='Function'>-</span><span class='Number'>1</span></code>.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAg4oaVIDQKCiAgIOKGlSA04oC/NQ==">βοΈ</a><pre> <span class='Function'>β</span> <span class='Number'>4</span> β¨ 0 1 2 3 β© @@ -20,7 +20,7 @@ β </pre> <h2 id="π¨--π©-windows"><a class="header" href="#π¨--π©-windows"><code><span class='Value'>π¨</span> <span class='Function'>β</span> <span class='Value'>π©</span></code>: Windows</a></h2> -<p>Overlapping slices of <code><span class='Value'>π©</span></code> which are of shape <code><span class='Value'>π¨</span></code>.</p> +<p>Overlapping slices from <code><span class='Value'>π©</span></code> of shape <code><span class='Value'>π¨</span></code>.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgNSDihpUgImFiY2RlZmciCgogICBhIOKGkCAz4oC/M+KliuKGlTkKCiAgIDLigL8yIOKGlSBh">βοΈ</a><pre> <span class='Number'>5</span> <span class='Function'>β</span> <span class='String'>"abcdefg"</span> ββ β΅"abcde diff --git a/docs/help/repeat.html b/docs/help/repeat.html index 67d8e002..edfe00b9 100644 --- a/docs/help/repeat.html +++ b/docs/help/repeat.html @@ -6,8 +6,8 @@ <div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div> <h1 id="circle-star-"><a class="header" href="#circle-star-">Circle Star (<code><span class='Modifier2'>β</span></code>)</a></h1> <h2 id="π½πΎ-π©-π¨-π½πΎ-π©-repeat"><a class="header" href="#π½πΎ-π©-π¨-π½πΎ-π©-repeat"><code><span class='Function'>π½</span><span class='Modifier2'>β</span><span class='Function'>πΎ</span> <span class='Value'>π©</span></code>, <code><span class='Value'>π¨</span> <span class='Function'>π½</span><span class='Modifier2'>β</span><span class='Function'>πΎ</span> <span class='Value'>π©</span></code>: Repeat</a></h2> -<p>Apply <code><span class='Function'>πΎ</span></code> to <code><span class='Value'>π¨</span></code> and <code><span class='Value'>π©</span></code> and apply <code><span class='Function'>π½</span></code> to <code><span class='Value'>π©</span></code> that may times. If <code><span class='Value'>π¨</span></code> is given, keep it as a constant left argument.</p> -<p>If <code><span class='Function'>πΎ</span></code> returns an array, give <code><span class='Function'>π½</span><span class='Modifier2'>β</span><span class='Value'>π©</span></code> for each element.</p> +<p>Apply <code><span class='Function'>πΎ</span></code> to <code><span class='Value'>π¨</span></code> and <code><span class='Value'>π©</span></code>, then apply <code><span class='Function'>π½</span></code> to <code><span class='Value'>π©</span></code> that may times. If <code><span class='Value'>π¨</span></code> is given, use it each time as a constant left argument.</p> +<p>If <code><span class='Function'>πΎ</span></code> returns an array, give <code><span class='Function'>π½</span><span class='Modifier2'>β</span><span class='Value'>π©</span></code> for each of its elements.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgMSAr4o2f4oqiIDQKCiAgIDEgK+KNnzHigL8y4oC/MyA0CgogICAzIOKIvuKNn3viiaDwnZWpfSDin6g0LDUsNuKfqQ==">βοΈ</a><pre> <span class='Number'>1</span> <span class='Function'>+</span><span class='Modifier2'>β</span><span class='Function'>β’</span> <span class='Number'>4</span> 8 diff --git a/docs/help/reverse_rotate.html b/docs/help/reverse_rotate.html index e1885019..538005c9 100644 --- a/docs/help/reverse_rotate.html +++ b/docs/help/reverse_rotate.html @@ -6,7 +6,7 @@ <div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div> <h1 id="circle-stile-"><a class="header" href="#circle-stile-">Circle Stile (<code><span class='Function'>β½</span></code>)</a></h1> <h2 id="-π©-reverse"><a class="header" href="#-π©-reverse"><code><span class='Function'>β½</span> <span class='Value'>π©</span></code>: Reverse</a></h2> -<p>Reverse the first axis of <code><span class='Value'>π©</span></code>.</p> +<p>Reverse <code><span class='Value'>π©</span></code> along the first axis.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAg4oy9IDHigL8y4oC/MwoKICAgYSDihpAgM+KAvzMg4qWKIOKGlTkKCiAgIOKMvSBh">βοΈ</a><pre> <span class='Function'>β½</span> <span class='Number'>1</span><span class='Ligature'>βΏ</span><span class='Number'>2</span><span class='Ligature'>βΏ</span><span class='Number'>3</span> β¨ 3 2 1 β© @@ -19,7 +19,7 @@ 0 1 2 β </pre> -<h2 id="π¨--π©-dyad"><a class="header" href="#π¨--π©-dyad"><code><span class='Value'>π¨</span> <span class='Function'>β½</span> <span class='Value'>π©</span></code>: Dyad</a></h2> +<h2 id="π¨--π©-rotate"><a class="header" href="#π¨--π©-rotate"><code><span class='Value'>π¨</span> <span class='Function'>β½</span> <span class='Value'>π©</span></code>: Rotate</a></h2> <p>Move the first <code><span class='Value'>π¨</span></code> elements of <code><span class='Value'>π©</span></code> to its end. Negative <code><span class='Value'>π¨</span></code> reverses the direction of rotation.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgMiDijL0gMeKAvzLigL8zCgogICBiIOKGkCAz4oC/MyDipYog4oaVOQoKICAgMiDijL0gYg==">βοΈ</a><pre> <span class='Number'>2</span> <span class='Function'>β½</span> <span class='Number'>1</span><span class='Ligature'>βΏ</span><span class='Number'>2</span><span class='Ligature'>βΏ</span><span class='Number'>3</span> β¨ 3 1 2 β© diff --git a/docs/help/separator.html b/docs/help/separator.html index fdd26920..94350f77 100644 --- a/docs/help/separator.html +++ b/docs/help/separator.html @@ -1,19 +1,19 @@ <head> <link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/> <link href="../style.css" rel="stylesheet"/> - <title>BQN: Diamond (β)</title> + <title>BQN: Comma (,) and Diamond (β)</title> </head> <div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div> -<h1 id="diamond-"><a class="header" href="#diamond-">Diamond (<code><span class='Separator'>β</span></code>)</a></h1> -<h2 id="-separator"><a class="header" href="#-separator"><code><span class='Separator'>β</span></code>: Separator</a></h2> -<p>Separates statements in blocksβ programs and arrays.</p> -<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=YSDihpAgMyDii4Qg4oqiIGIg4oaQIDIKCjEg4ouEIDIg4ouEIDMKCuKfqDEg4ouEIDIg4ouEIDPin6kKCnsxIOKLhCAyIOKLhCAzfQ==">βοΈ</a><pre> <span class='Value'>a</span> <span class='Gets'>β</span> <span class='Number'>3</span> <span class='Separator'>β</span> <span class='Function'>β’</span> <span class='Value'>b</span> <span class='Gets'>β</span> <span class='Number'>2</span> +<h1 id="comma--and-diamond-"><a class="header" href="#comma--and-diamond-">Comma (<code><span class='Separator'>,</span></code>) and Diamond (<code><span class='Separator'>β</span></code>)</a></h1> +<h2 id="-or--separator"><a class="header" href="#-or--separator"><code><span class='Separator'>,</span></code> or <code><span class='Separator'>β</span></code>: Separator</a></h2> +<p>Separates statements in blocks, programs, and arrays. Characters <code><span class='Separator'>,</span></code> and <code><span class='Separator'>β</span></code> are interchangeable with each other and with newline.</p> +<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=YSDihpAgMyAsIOKKoiBiIOKGkCAyCgoxIOKLhCAyICwgMwoK4p+oMSAsIDIg4ouEIDPin6kKCnsxIOKLhCAyIOKLhCAzfQ==">βοΈ</a><pre> <span class='Value'>a</span> <span class='Gets'>β</span> <span class='Number'>3</span> <span class='Separator'>,</span> <span class='Function'>β’</span> <span class='Value'>b</span> <span class='Gets'>β</span> <span class='Number'>2</span> 2 - <span class='Number'>1</span> <span class='Separator'>β</span> <span class='Number'>2</span> <span class='Separator'>β</span> <span class='Number'>3</span> + <span class='Number'>1</span> <span class='Separator'>β</span> <span class='Number'>2</span> <span class='Separator'>,</span> <span class='Number'>3</span> 3 - <span class='Bracket'>β¨</span><span class='Number'>1</span> <span class='Separator'>β</span> <span class='Number'>2</span> <span class='Separator'>β</span> <span class='Number'>3</span><span class='Bracket'>β©</span> + <span class='Bracket'>β¨</span><span class='Number'>1</span> <span class='Separator'>,</span> <span class='Number'>2</span> <span class='Separator'>β</span> <span class='Number'>3</span><span class='Bracket'>β©</span> β¨ 1 2 3 β© <span class='Brace'>{</span><span class='Number'>1</span> <span class='Separator'>β</span> <span class='Number'>2</span> <span class='Separator'>β</span> <span class='Number'>3</span><span class='Brace'>}</span> diff --git a/docs/help/separator1.html b/docs/help/separator1.html deleted file mode 100644 index 958d00a7..00000000 --- a/docs/help/separator1.html +++ /dev/null @@ -1,21 +0,0 @@ -<head> - <link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/> - <link href="../style.css" rel="stylesheet"/> - <title>BQN: Comma (,)</title> -</head> -<div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div> -<h1 id="comma-"><a class="header" href="#comma-">Comma (<code><span class='Separator'>,</span></code>)</a></h1> -<h2 id="-separator"><a class="header" href="#-separator"><code><span class='Separator'>,</span></code>: Separator</a></h2> -<p>Separates statements in blocks, programs and arrays.</p> -<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=YSDihpAgMyAsIOKKoiBiIOKGkCAyCgoxICwgMiAsIDMKCuKfqDEsIDIsIDPin6kKCnsxLCAyLCAzfQ==">βοΈ</a><pre> <span class='Value'>a</span> <span class='Gets'>β</span> <span class='Number'>3</span> <span class='Separator'>,</span> <span class='Function'>β’</span> <span class='Value'>b</span> <span class='Gets'>β</span> <span class='Number'>2</span> -2 - - <span class='Number'>1</span> <span class='Separator'>,</span> <span class='Number'>2</span> <span class='Separator'>,</span> <span class='Number'>3</span> -3 - - <span class='Bracket'>β¨</span><span class='Number'>1</span><span class='Separator'>,</span> <span class='Number'>2</span><span class='Separator'>,</span> <span class='Number'>3</span><span class='Bracket'>β©</span> -β¨ 1 2 3 β© - - <span class='Brace'>{</span><span class='Number'>1</span><span class='Separator'>,</span> <span class='Number'>2</span><span class='Separator'>,</span> <span class='Number'>3</span><span class='Brace'>}</span> -3 -</pre> diff --git a/docs/help/system.html b/docs/help/system.html index 682c97a2..e3094079 100644 --- a/docs/help/system.html +++ b/docs/help/system.html @@ -6,5 +6,5 @@ <div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div> <h1 id="bullet-"><a class="header" href="#bullet-">Bullet (<code><span class='Value'>β’</span></code>)</a></h1> <h2 id="-system"><a class="header" href="#-system"><code><span class='Value'>β’</span></code>: System</a></h2> -<p>A prefix for system functions. <code><span class='Value'>β’listSys</span></code> gives a list of system values added in any BQN implementation.</p> +<p>A prefix for system functions. <code><span class='Value'>β’listSys</span></code> gives a list of defined system value names.</p> <p><code><span class='Value'>β’</span></code> is ignored when determining the role of the system value.</p> diff --git a/docs/help/table.html b/docs/help/table.html index 30e52d2a..2c405ade 100644 --- a/docs/help/table.html +++ b/docs/help/table.html @@ -5,7 +5,7 @@ </head> <div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div> <h1 id="top-left-corner-"><a class="header" href="#top-left-corner-">Top Left Corner (<code><span class='Modifier'>β</span></code>)</a></h1> -<h2 id="π¨-π½-π©-each"><a class="header" href="#π¨-π½-π©-each"><code><span class='Value'>π¨</span> <span class='Function'>π½</span><span class='Modifier'>β</span> <span class='Value'>π©</span></code>: Each</a></h2> +<h2 id="π¨-π½-π©-table"><a class="header" href="#π¨-π½-π©-table"><code><span class='Value'>π¨</span> <span class='Function'>π½</span><span class='Modifier'>β</span> <span class='Value'>π©</span></code>: Table</a></h2> <p>Apply <code><span class='Function'>π½</span></code> between every possible pair of the elements of the arguments.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgMeKAvzLigL8z4oC/NCAr4oycIDTigL814oC/NuKAvzcKCiAgICJhYmMiIOKIvuKMnCAieHl6Ig==">βοΈ</a><pre> <span class='Number'>1</span><span class='Ligature'>βΏ</span><span class='Number'>2</span><span class='Ligature'>βΏ</span><span class='Number'>3</span><span class='Ligature'>βΏ</span><span class='Number'>4</span> <span class='Function'>+</span><span class='Modifier'>β</span> <span class='Number'>4</span><span class='Ligature'>βΏ</span><span class='Number'>5</span><span class='Ligature'>βΏ</span><span class='Number'>6</span><span class='Ligature'>βΏ</span><span class='Number'>7</span> ββ |
