diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-01-24 18:12:13 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-01-24 18:13:16 -0500 |
| commit | 3b6599b12470fe9b1321111d31c34685ffd5db52 (patch) | |
| tree | c2b5aa59341dbfec7868911ff6bf505716ec85a9 | |
| parent | c9bc3e80280fd8a38f6297de80196dcbff9c28d9 (diff) | |
Github doesn't remove Unicode letters from header slugs apparently
74 files changed, 135 insertions, 135 deletions
diff --git a/docs/commentary/problems.html b/docs/commentary/problems.html index 34dd001c..8b9f0955 100644 --- a/docs/commentary/problems.html +++ b/docs/commentary/problems.html @@ -113,7 +113,7 @@ <p>Scan moves along the array so that it uses results as left arguments, which is opposite to the usual right-to-left order of evaluation. But I think this is still better than scanning the array in reverse. You can always use Swap on the operand, or recover the APL scan ordering by doing a Reduce-Each on Prefixes.</p> <h3 id="only-errors-in-functions-can-be-caught"><a class="header" href="#only-errors-in-functions-can-be-caught">Only errors in functions can be caught</a></h3> <p>The modifier <code><span class='Modifier2'>β</span></code> allows errors in a function to be caught, but a more natural unit for this is the block (scope, really). However, catching errors shouldn't be common in typical code, in the sense that an application should have only a few instances of <code><span class='Modifier2'>β</span></code>. Ordinary testing and control flow should be preferred instead.</p> -<h3 id="special-names-other-than--cant-be-written-as-modifiers"><a class="header" href="#special-names-other-than--cant-be-written-as-modifiers">Special names other than π£ can't be written as modifiers</a></h3> +<h3 id="special-names-other-than-π£-cant-be-written-as-modifiers"><a class="header" href="#special-names-other-than-π£-cant-be-written-as-modifiers">Special names other than π£ can't be written as modifiers</a></h3> <p>I decided that it was better to allow <code><span class='Value'>π¨</span><span class='Modifier2'>_m_</span><span class='Value'>π©</span></code> to work with no spaces than to allow <code><span class='Modifier2'>_</span><span class='Value'>π©</span></code> to be a modifier, and this rule also helps keep tokenization simple. But to apply <code><span class='Value'>π©</span></code> as a modifier you have to give it a different name.</p> <h3 id="bins-is-inconsistent-with-index-of"><a class="header" href="#bins-is-inconsistent-with-index-of">Bins is inconsistent with Index of</a></h3> <p>In Dyalog APL, Interval Index is identical to Index Of if the left argument has no duplicate cells and every right argument cell intolerantly matches a left argument cell. In BQN they're off by oneβBins is one larger. But all the caveats for the Dyalog relation indicate this might not be so fundamental.</p> diff --git a/docs/help/2-modifierrightoperand.html b/docs/help/2-modifierrightoperand.html index f7a71bdf..dbe09db1 100644 --- a/docs/help/2-modifierrightoperand.html +++ b/docs/help/2-modifierrightoperand.html @@ -4,8 +4,8 @@ <title>BQN: Mathematical Double-struck G (πΎ)</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="mathematical-double-struck-g-"><a class="header" href="#mathematical-double-struck-g-">Mathematical Double-struck G (<code><span class='Function'>πΎ</span></code>)</a></h1> -<h2 id="-2-modifier-right-operand"><a class="header" href="#-2-modifier-right-operand"><code><span class='Function'>πΎ</span></code>: 2-Modifier Right operand</a></h2> +<h1 id="mathematical-double-struck-g-πΎ"><a class="header" href="#mathematical-double-struck-g-πΎ">Mathematical Double-struck G (<code><span class='Function'>πΎ</span></code>)</a></h1> +<h2 id="πΎ-2-modifier-right-operand"><a class="header" href="#πΎ-2-modifier-right-operand"><code><span class='Function'>πΎ</span></code>: 2-Modifier Right operand</a></h2> <p>A variable assigned to the right operand of a 2-modifier block. <code><span class='Value'>π</span></code> can be used to access the right operand as a subject.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=NSAre/CdlZh9MyAx">βοΈ</a><pre> <span class='Number'>5</span> <span class='Function'>+</span><span class='Brace'>{</span><span class='Value'>π</span><span class='Brace'>}</span><span class='Number'>3</span> <span class='Number'>1</span> 3 diff --git a/docs/help/absolutevalue_modulus.html b/docs/help/absolutevalue_modulus.html index 40907de8..ff360249 100644 --- a/docs/help/absolutevalue_modulus.html +++ b/docs/help/absolutevalue_modulus.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="pipe-"><a class="header" href="#pipe-">Pipe (<code><span class='Function'>|</span></code>)</a></h1> -<h2 id="--absolute-value"><a class="header" href="#--absolute-value"><code><span class='Function'>|</span> <span class='Value'>π©</span></code>: Absolute Value</a></h2> +<h2 id="-π©-absolute-value"><a class="header" href="#-π©-absolute-value"><code><span class='Function'>|</span> <span class='Value'>π©</span></code>: Absolute Value</a></h2> <p>Absolute Value of <code><span class='Value'>π©</span></code>.</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=ICB8IMKvMgoKICB8IDHigL8z4oC/wq804oC/Mw==">βοΈ</a><pre> <span class='Function'>|</span> <span class='Number'>Β―2</span> @@ -14,7 +14,7 @@ <span class='Function'>|</span> <span class='Number'>1</span><span class='Ligature'>βΏ</span><span class='Number'>3</span><span class='Ligature'>βΏ</span><span class='Number'>Β―4</span><span class='Ligature'>βΏ</span><span class='Number'>3</span> β¨ 1 3 4 3 β© </pre> -<h2 id="---modulus"><a class="header" href="#---modulus"><code><span class='Value'>π¨</span> <span class='Function'>|</span> <span class='Value'>π©</span></code>: Modulus</a></h2> +<h2 id="π¨--π©-modulus"><a class="header" href="#π¨--π©-modulus"><code><span class='Value'>π¨</span> <span class='Function'>|</span> <span class='Value'>π©</span></code>: Modulus</a></h2> <p>Remainder of <code><span class='Value'>π©</span></code> divided by <code><span class='Value'>π¨</span></code>.</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=ICAxIHwgMwoKICAyIHwgM+KAvzTigL/CrzU=">βοΈ</a><pre> <span class='Number'>1</span> <span class='Function'>|</span> <span class='Number'>3</span> diff --git a/docs/help/after_bind.html b/docs/help/after_bind.html index 8c7446de..f14f5386 100644 --- a/docs/help/after_bind.html +++ b/docs/help/after_bind.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="left-multimap-"><a class="header" href="#left-multimap-">Left Multimap (<code><span class='Modifier2'>β</span></code>)</a></h1> -<h2 id="--bind"><a class="header" href="#--bind"><code><span class='Function'>π½</span><span class='Modifier2'>β</span><span class='Value'>π</span> <span class='Value'>π©</span></code>: Bind</a></h2> +<h2 id="π½π-π©-bind"><a class="header" href="#π½π-π©-bind"><code><span class='Function'>π½</span><span class='Modifier2'>β</span><span class='Value'>π</span> <span class='Value'>π©</span></code>: Bind</a></h2> <p>Supply <code><span class='Value'>π</span></code> as a right argument to <code><span class='Function'>π½</span></code> (<code><span class='Value'>π©</span> <span class='Function'>π½</span> <span class='Value'>π</span></code>).</p> <p><code><span class='Value'>π</span></code> is a constant, <code><span class='Function'>π½</span></code> must be dyadic.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgLeKfnDMgOQoKICAgLSAzIDkKCiAgIDkgLSAz">βοΈ</a><pre> <span class='Function'>-</span><span class='Modifier2'>β</span><span class='Number'>3</span> <span class='Number'>9</span> @@ -17,7 +17,7 @@ <span class='Number'>9</span> <span class='Function'>-</span> <span class='Number'>3</span> 6 </pre> -<h2 id="--after"><a class="header" href="#--after"><code><span class='Function'>π½</span><span class='Modifier2'>β</span><span class='Function'>πΎ</span> <span class='Value'>π©</span></code>: After</a></h2> +<h2 id="π½πΎ-π©-after"><a class="header" href="#π½πΎ-π©-after"><code><span class='Function'>π½</span><span class='Modifier2'>β</span><span class='Function'>πΎ</span> <span class='Value'>π©</span></code>: After</a></h2> <p>Apply <code><span class='Function'>πΎ</span></code> to <code><span class='Value'>π©</span></code>, and supply it as a right argument to <code><span class='Function'>π½</span></code> (<code><span class='Value'>π©</span> <span class='Function'>π½</span> <span class='Paren'>(</span><span class='Function'>πΎ</span> <span class='Value'>π©</span><span class='Paren'>)</span></code>).</p> <p><code><span class='Function'>π½</span></code> must be dyadic, <code><span class='Function'>πΎ</span></code> must be monadic.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgw5fin5wtIDkKCiAgIMOXIC0gOQoKICAgOSDDlyAoLSA5KQ==">βοΈ</a><pre> <span class='Function'>Γ</span><span class='Modifier2'>β</span><span class='Function'>-</span> <span class='Number'>9</span> @@ -29,7 +29,7 @@ <span class='Number'>9</span> <span class='Function'>Γ</span> <span class='Paren'>(</span><span class='Function'>-</span> <span class='Number'>9</span><span class='Paren'>)</span> Β―81 </pre> -<h2 id="---dyadic-after"><a class="header" href="#---dyadic-after"><code><span class='Value'>π¨</span> <span class='Function'>π½</span><span class='Modifier2'>β</span><span class='Function'>πΎ</span> <span class='Value'>π©</span></code>: Dyadic After</a></h2> +<h2 id="π¨-π½πΎ-π©-dyadic-after"><a class="header" href="#π¨-π½πΎ-π©-dyadic-after"><code><span class='Value'>π¨</span> <span class='Function'>π½</span><span class='Modifier2'>β</span><span class='Function'>πΎ</span> <span class='Value'>π©</span></code>: Dyadic After</a></h2> <p>Apply <code><span class='Function'>πΎ</span></code> to <code><span class='Value'>π©</span></code>, and supply it as a right argument to <code><span class='Function'>π½</span></code> (<code><span class='Value'>π¨</span> <span class='Function'>π½</span> <span class='Paren'>(</span><span class='Function'>πΎ</span> <span class='Value'>π©</span><span class='Paren'>)</span></code>).</p> <p><code><span class='Function'>π½</span></code> must be dyadic, <code><span class='Function'>πΎ</span></code> must be monadic.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgMiDDl+KfnC0gMQoKICAgMiDDlyAoLSAxKQ==">βοΈ</a><pre> <span class='Number'>2</span> <span class='Function'>Γ</span><span class='Modifier2'>β</span><span class='Function'>-</span> <span class='Number'>1</span> diff --git a/docs/help/assert_assertwithmessage.html b/docs/help/assert_assertwithmessage.html index 947d33cf..92140c18 100644 --- a/docs/help/assert_assertwithmessage.html +++ b/docs/help/assert_assertwithmessage.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="exclamation-mark-"><a class="header" href="#exclamation-mark-">Exclamation Mark (<code><span class='Function'>!</span></code>)</a></h1> -<h2 id="--assert"><a class="header" href="#--assert"><code><span class='Function'>!</span> <span class='Value'>π©</span></code>: Assert</a></h2> +<h2 id="-π©-assert"><a class="header" href="#-π©-assert"><code><span class='Function'>!</span> <span class='Value'>π©</span></code>: Assert</a></h2> <p>Throw an error if <code><span class='Value'>π©</span></code> is not 1.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgISAxCgogICAhIDIKCiAgICEgImhlbGxvIg==">βοΈ</a><pre> <span class='Function'>!</span> <span class='Number'>1</span> 1 @@ -16,7 +16,7 @@ <span class='Function'>!</span> <span class='String'>"hello"</span> <span class='Error'>Error: hello</span> </pre> -<h2 id="---assert-with-message"><a class="header" href="#---assert-with-message"><code><span class='Value'>π¨</span> <span class='Function'>!</span> <span class='Value'>π©</span></code>: Assert With Message</a></h2> +<h2 id="π¨--π©-assert-with-message"><a class="header" href="#π¨--π©-assert-with-message"><code><span class='Value'>π¨</span> <span class='Function'>!</span> <span class='Value'>π©</span></code>: Assert With Message</a></h2> <p>Throw an error with message <code><span class='Value'>π¨</span></code> if <code><span class='Value'>π©</span></code> is not 1.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgImhpIiAhIDEKCiAgICJ0d28iICEgMgoKICAgImhlbGxvIGVycm9yIiAhICJoZWxsbyI=">βοΈ</a><pre> <span class='String'>"hi"</span> <span class='Function'>!</span> <span class='Number'>1</span> 1 diff --git a/docs/help/atop.html b/docs/help/atop.html index 62abd9a1..57c7bf3a 100644 --- a/docs/help/atop.html +++ b/docs/help/atop.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="ring-operator-"><a class="header" href="#ring-operator-">Ring Operator (<code><span class='Modifier2'>β</span></code>)</a></h1> -<h2 id="--atop"><a class="header" href="#--atop"><code><span class='Function'>π½</span><span class='Modifier2'>β</span><span class='Function'>πΎ</span> <span class='Value'>π©</span></code>: Atop</a></h2> +<h2 id="π½πΎ-π©-atop"><a class="header" href="#π½πΎ-π©-atop"><code><span class='Function'>π½</span><span class='Modifier2'>β</span><span class='Function'>πΎ</span> <span class='Value'>π©</span></code>: Atop</a></h2> <p>Apply <code><span class='Function'>πΎ</span></code> to <code><span class='Value'>π©</span></code>, then apply <code><span class='Function'>π½</span></code> (<code><span class='Function'>π½</span> <span class='Function'>πΎ</span> <span class='Value'>π©</span></code>).</p> <p><code><span class='Function'>π½</span></code> and <code><span class='Function'>πΎ</span></code> must be monadic.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgLeKImC0gNQoKICAgLSAtIDU=">βοΈ</a><pre> <span class='Function'>-</span><span class='Modifier2'>β</span><span class='Function'>-</span> <span class='Number'>5</span> @@ -14,7 +14,7 @@ <span class='Function'>-</span> <span class='Function'>-</span> <span class='Number'>5</span> 5 </pre> -<h2 id="---dyadic-atop"><a class="header" href="#---dyadic-atop"><code><span class='Value'>π¨</span> <span class='Function'>π½</span><span class='Modifier2'>β</span><span class='Function'>πΎ</span> <span class='Value'>π©</span></code>: Dyadic Atop</a></h2> +<h2 id="π¨-π½πΎ-π©-dyadic-atop"><a class="header" href="#π¨-π½πΎ-π©-dyadic-atop"><code><span class='Value'>π¨</span> <span class='Function'>π½</span><span class='Modifier2'>β</span><span class='Function'>πΎ</span> <span class='Value'>π©</span></code>: Dyadic Atop</a></h2> <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> (<code><span class='Function'>π½</span> <span class='Paren'>(</span><span class='Value'>π¨</span> <span class='Function'>πΎ</span> <span class='Value'>π©</span><span class='Paren'>)</span></code>).</p> <p><code><span class='Function'>π½</span></code> must be monadic, and <code><span class='Function'>πΎ</span></code> must be dyadic.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgMSAt4oiYKyAyCgogICAxIC0gKyAyCgogICAtIDEgKyAy">βοΈ</a><pre> <span class='Number'>1</span> <span class='Function'>-</span><span class='Modifier2'>β</span><span class='Function'>+</span> <span class='Number'>2</span> diff --git a/docs/help/before_bind.html b/docs/help/before_bind.html index e04e11b1..3ae101c6 100644 --- a/docs/help/before_bind.html +++ b/docs/help/before_bind.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="multimap-"><a class="header" href="#multimap-">Multimap (<code><span class='Modifier2'>βΈ</span></code>)</a></h1> -<h2 id="--bind-left"><a class="header" href="#--bind-left"><code><span class='Value'>π</span><span class='Modifier2'>βΈ</span><span class='Function'>πΎ</span> <span class='Value'>π©</span></code>: Bind Left</a></h2> +<h2 id="ππΎ-π©-bind-left"><a class="header" href="#ππΎ-π©-bind-left"><code><span class='Value'>π</span><span class='Modifier2'>βΈ</span><span class='Function'>πΎ</span> <span class='Value'>π©</span></code>: Bind Left</a></h2> <p>Supply <code><span class='Value'>π</span></code> as a left argument to <code><span class='Function'>πΎ</span></code> (<code><span class='Value'>π</span> <span class='Function'>πΎ</span> <span class='Value'>π©</span></code>).</p> <p><code><span class='Value'>π</span></code> is a constant, <code><span class='Function'>πΎ</span></code> must be dyadic.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgM+KKuC0gOQoKICAgMyAtIDk=">βοΈ</a><pre> <span class='Number'>3</span><span class='Modifier2'>βΈ</span><span class='Function'>-</span> <span class='Number'>9</span> @@ -14,7 +14,7 @@ <span class='Number'>3</span> <span class='Function'>-</span> <span class='Number'>9</span> Β―6 </pre> -<h2 id="--before"><a class="header" href="#--before"><code><span class='Function'>π½</span><span class='Modifier2'>βΈ</span><span class='Function'>πΎ</span> <span class='Value'>π©</span></code>: Before</a></h2> +<h2 id="π½πΎ-π©-before"><a class="header" href="#π½πΎ-π©-before"><code><span class='Function'>π½</span><span class='Modifier2'>βΈ</span><span class='Function'>πΎ</span> <span class='Value'>π©</span></code>: Before</a></h2> <p>Apply <code><span class='Function'>π½</span></code> to <code><span class='Value'>π©</span></code>, and supply it as a left argument to <code><span class='Function'>πΎ</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='Value'>π©</span></code>).</p> <p><code><span class='Function'>π½</span></code> must be monadic, <code><span class='Function'>πΎ</span></code> must be dyadic.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgLeKKuCsgOQoKICAgLSArIDkKCiAgICgtIDkpICsgOQ==">βοΈ</a><pre> <span class='Function'>-</span><span class='Modifier2'>βΈ</span><span class='Function'>+</span> <span class='Number'>9</span> @@ -26,7 +26,7 @@ <span class='Paren'>(</span><span class='Function'>-</span> <span class='Number'>9</span><span class='Paren'>)</span> <span class='Function'>+</span> <span class='Number'>9</span> 0 </pre> -<h2 id="---dyadic-before"><a class="header" href="#---dyadic-before"><code><span class='Value'>π¨</span> <span class='Function'>π½</span><span class='Modifier2'>βΈ</span><span class='Function'>πΎ</span> <span class='Value'>π©</span></code>: Dyadic Before</a></h2> +<h2 id="π¨-π½πΎ-π©-dyadic-before"><a class="header" href="#π¨-π½πΎ-π©-dyadic-before"><code><span class='Value'>π¨</span> <span class='Function'>π½</span><span class='Modifier2'>βΈ</span><span class='Function'>πΎ</span> <span class='Value'>π©</span></code>: Dyadic Before</a></h2> <p>Apply <code><span class='Function'>π½</span></code> to <code><span class='Value'>π¨</span></code>, and supply it as a left argument to <code><span class='Function'>πΎ</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='Value'>π©</span></code>).</p> <p><code><span class='Function'>π½</span></code> must be monadic, <code><span class='Function'>πΎ</span></code> must be dyadic.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgMiAt4oq4KyAxCgogICAyIC0gKyAxCgogICAoLSAyKSArIDE=">βοΈ</a><pre> <span class='Number'>2</span> <span class='Function'>-</span><span class='Modifier2'>βΈ</span><span class='Function'>+</span> <span class='Number'>1</span> diff --git a/docs/help/catch.html b/docs/help/catch.html index 446edf64..a5a546fd 100644 --- a/docs/help/catch.html +++ b/docs/help/catch.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="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> +<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> diff --git a/docs/help/ceiling_maximum.html b/docs/help/ceiling_maximum.html index 9e5fb5cb..2cff2167 100644 --- a/docs/help/ceiling_maximum.html +++ b/docs/help/ceiling_maximum.html @@ -5,13 +5,13 @@ </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="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> +<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><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 β© </pre> -<h2 id="---maximum"><a class="header" href="#---maximum"><code><span class='Value'>π¨</span> <span class='Function'>β</span> <span class='Value'>π©</span></code>: Maximum</a></h2> +<h2 id="π¨--π©-maximum"><a class="header" href="#π¨--π©-maximum"><code><span class='Value'>π¨</span> <span class='Function'>β</span> <span class='Value'>π©</span></code>: Maximum</a></h2> <p>Maximum of <code><span class='Value'>π¨</span></code> and <code><span class='Value'>π©</span></code>.</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=ICAxIOKMiCAyCgogIDLigL8zIOKMiCA04oC/Mg==">βοΈ</a><pre> <span class='Number'>1</span> <span class='Function'>β</span> <span class='Number'>2</span> diff --git a/docs/help/cells.html b/docs/help/cells.html index d21fedff..aa8bd55f 100644 --- a/docs/help/cells.html +++ b/docs/help/cells.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="breve-"><a class="header" href="#breve-">Breve (<code><span class='Modifier'>Λ</span></code>)</a></h1> -<h2 id="-----cells"><a class="header" href="#-----cells"><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>: Cells</a></h2> +<h2 id="π½-π©-π¨-π½-π©-cells"><a class="header" href="#π½-π©-π¨-π½-π©-cells"><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>: Cells</a></h2> <p>Apply <code><span class='Function'>π½</span></code> to/between the major cells 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=ICAgYSDihpAgM+KAvzMg4qWKIOKGlTkKCgogICA8y5ggYQoKICAgYSDiiY3LmCBh">βοΈ</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> diff --git a/docs/help/choose.html b/docs/help/choose.html index 75fbdcfa..96304e0b 100644 --- a/docs/help/choose.html +++ b/docs/help/choose.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="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> +<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> <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> diff --git a/docs/help/classify_indexof.html b/docs/help/classify_indexof.html index 15c01b1d..143393be 100644 --- a/docs/help/classify_indexof.html +++ b/docs/help/classify_indexof.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="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> +<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> <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 β© @@ -15,7 +15,7 @@ <span class='Function'>β</span> <span class='Value'>a</span> β¨ 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> +<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> diff --git a/docs/help/conjugate_add.html b/docs/help/conjugate_add.html index 38085f5c..c70fd1fb 100644 --- a/docs/help/conjugate_add.html +++ b/docs/help/conjugate_add.html @@ -5,14 +5,14 @@ </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="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> +<h2 id="-π©-conjugate"><a class="header" href="#-π©-conjugate"><code><span class='Function'>+</span> <span class='Value'>π©</span></code>: Conjugate</a></h2> <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 <span class='Function'>+</span> <span class='Number'>Β―1</span> Β―1 </pre> -<h2 id="---add"><a class="header" href="#---add"><code><span class='Value'>π¨</span> <span class='Function'>+</span> <span class='Value'>π©</span></code>: Add</a></h2> +<h2 id="π¨--π©-add"><a class="header" href="#π¨--π©-add"><code><span class='Value'>π¨</span> <span class='Function'>+</span> <span class='Value'>π©</span></code>: Add</a></h2> <p><code><span class='Value'>π¨</span></code> added to <code><span class='Value'>π©</span></code>. Either <code><span class='Value'>π¨</span></code> or <code><span class='Value'>π©</span></code> can be a character, and if so, the other has to be an 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=ICAxICsgMgoKICAxICsgMuKAvzPigL80CgogICdhJyArIDQ=">βοΈ</a><pre> <span class='Number'>1</span> <span class='Function'>+</span> <span class='Number'>2</span> diff --git a/docs/help/constant.html b/docs/help/constant.html index 4e1ad74f..7b0017f2 100644 --- a/docs/help/constant.html +++ b/docs/help/constant.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="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> +<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> 1 diff --git a/docs/help/currentfunction.html b/docs/help/currentfunction.html index d60bd8a5..8aa11806 100644 --- a/docs/help/currentfunction.html +++ b/docs/help/currentfunction.html @@ -4,8 +4,8 @@ <title>BQN: Mathematical Double-struck S (π)</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="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> +<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><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 diff --git a/docs/help/currentmodifier.html b/docs/help/currentmodifier.html index 3fdf1a98..1ee9782b 100644 --- a/docs/help/currentmodifier.html +++ b/docs/help/currentmodifier.html @@ -4,8 +4,8 @@ <title>BQN: Mathematical Double-struck R (π£)</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="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> +<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> <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) diff --git a/docs/help/deduplicate_find.html b/docs/help/deduplicate_find.html index 5c05059c..cefe3b8f 100644 --- a/docs/help/deduplicate_find.html +++ b/docs/help/deduplicate_find.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="epsilon-underbar-"><a class="header" href="#epsilon-underbar-">Epsilon Underbar (<code><span class='Function'>β·</span></code>)</a></h1> -<h2 id="--deduplicate"><a class="header" href="#--deduplicate"><code><span class='Function'>β·</span> <span class='Value'>π©</span></code>: Deduplicate</a></h2> +<h2 id="-π©-deduplicate"><a class="header" href="#-π©-deduplicate"><code><span class='Function'>β·</span> <span class='Value'>π©</span></code>: Deduplicate</a></h2> <p>Unique 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=ICAg4o23IDTigL814oC/NuKAvzbigL804oC/N+KAvzUKCiAgIGEg4oaQIDPigL8zIOKliiDihpU2CgogICDijbcgYQ==">βοΈ</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> β¨ 4 5 6 7 β© @@ -18,7 +18,7 @@ 3 4 5 β </pre> -<h2 id="---find"><a class="header" href="#---find"><code><span class='Value'>π¨</span> <span class='Function'>β·</span> <span class='Value'>π©</span></code>: Find</a></h2> +<h2 id="π¨--π©-find"><a class="header" href="#π¨--π©-find"><code><span class='Value'>π¨</span> <span class='Function'>β·</span> <span class='Value'>π©</span></code>: Find</a></h2> <p>Mark the top left location of the occurrences of <code><span class='Value'>π¨</span></code> in <code><span class='Value'>π©</span></code> with a 1, and other locations with 0.</p> <p>Result is the same shape as <code><span class='Paren'>(</span><span class='Function'>β’</span><span class='Value'>π¨</span><span class='Paren'>)</span><span class='Function'>β</span><span class='Value'>x</span></code>.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgInN0cmluZyIg4o23ICJzdWJzdHJpbmciCgogICAibG9vb29vb25nIiDijbcgInNob3J0IgoKICAgYiDihpAgNyAoNHzii4bLnCnijJzil4vihpUgOQoKICAgYyDihpAgKDDigL8z4oC/MOKJjTDigL8x4oC/MCkKCiAgIGMg4o23IGI=">βοΈ</a><pre> <span class='String'>"string"</span> <span class='Function'>β·</span> <span class='String'>"substring"</span> diff --git a/docs/help/depth.html b/docs/help/depth.html index 6412a932..5824fc71 100644 --- a/docs/help/depth.html +++ b/docs/help/depth.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="circle-with-two-dots-"><a class="header" href="#circle-with-two-dots-">Circle With Two Dots (<code><span class='Modifier2'>β</span></code>)</a></h1> -<h2 id="-----depth"><a class="header" href="#-----depth"><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>: Depth</a></h2> +<h2 id="π½π-π©-π¨-π½π-π©-depth"><a class="header" href="#π½π-π©-π¨-π½π-π©-depth"><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>: Depth</a></h2> <p>Apply <code><span class='Function'>π½</span></code> to the cells of the arguments at depth given in <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=ICAgMeKKuOKGk+KahzEg4p+o4p+oMSwyLDPin6ksIOKfqDQsNSw24p+p4p+pCgogICAxIOKGk+KahzEg4p+o4p+oMSwyLDPin6ksIOKfqDQsNSw24p+p4p+p">βοΈ</a><pre> <span class='Number'>1</span><span class='Modifier2'>βΈ</span><span class='Function'>β</span><span class='Modifier2'>β</span><span class='Number'>1</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><span class='Separator'>,</span> <span class='Bracket'>β¨</span><span class='Number'>4</span><span class='Separator'>,</span><span class='Number'>5</span><span class='Separator'>,</span><span class='Number'>6</span><span class='Bracket'>β©β©</span> β¨ β¨ 2 3 β© β¨ 5 6 β© β© diff --git a/docs/help/depth_match.html b/docs/help/depth_match.html index 37d3d07f..5087c84f 100644 --- a/docs/help/depth_match.html +++ b/docs/help/depth_match.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="identical-to-"><a class="header" href="#identical-to-">Identical To (<code><span class='Function'>β‘</span></code>)</a></h1> -<h2 id="--depth"><a class="header" href="#--depth"><code><span class='Function'>β‘</span> <span class='Value'>π©</span></code>: Depth</a></h2> +<h2 id="-π©-depth"><a class="header" href="#-π©-depth"><code><span class='Function'>β‘</span> <span class='Value'>π©</span></code>: Depth</a></h2> <p>Highest level of nesting in <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=ICDiiaEgMuKAvzPigL80CgogIOKJoSDin6gyLDwzLDQsPDw8NeKfqQoKICDiiaEgOQ==">βοΈ</a><pre> <span class='Function'>β‘</span> <span class='Number'>2</span><span class='Ligature'>βΏ</span><span class='Number'>3</span><span class='Ligature'>βΏ</span><span class='Number'>4</span> 1 @@ -16,7 +16,7 @@ <span class='Function'>β‘</span> <span class='Number'>9</span> 0 </pre> -<h2 id="---match"><a class="header" href="#---match"><code><span class='Value'>π¨</span> <span class='Function'>β‘</span> <span class='Value'>π©</span></code>: Match</a></h2> +<h2 id="π¨--π©-match"><a class="header" href="#π¨--π©-match"><code><span class='Value'>π¨</span> <span class='Function'>β‘</span> <span class='Value'>π©</span></code>: Match</a></h2> <p>Does <code><span class='Value'>π¨</span></code> exactly match <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=ICAxIOKJoSDin6gx4p+pCgogIOKfqDHin6kg4omhIOKfqDHin6k=">βοΈ</a><pre> <span class='Number'>1</span> <span class='Function'>β‘</span> <span class='Bracket'>β¨</span><span class='Number'>1</span><span class='Bracket'>β©</span> 0 diff --git a/docs/help/deshape_reshape.html b/docs/help/deshape_reshape.html index 5e9e22cb..7c6896b1 100644 --- a/docs/help/deshape_reshape.html +++ b/docs/help/deshape_reshape.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="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> +<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> <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 β© @@ -13,7 +13,7 @@ <span class='Function'>β₯</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> β¨ 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> +<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>A single element in <code><span class='Value'>π©</span></code> can be a function, which will be replaced with an appropriate length:</p> <ul> diff --git a/docs/help/each.html b/docs/help/each.html index 2a323a0f..eb12ff29 100644 --- a/docs/help/each.html +++ b/docs/help/each.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="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> +<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> <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 c1207d58..31329115 100644 --- a/docs/help/enclose_lessthan.html +++ b/docs/help/enclose_lessthan.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="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> +<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> <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> βΒ· @@ -16,7 +16,7 @@ <span class='Function'>β’<</span><span class='Number'>1</span> β¨β© </pre> -<h2 id="---lesser-than"><a class="header" href="#---lesser-than"><code><span class='Value'>π¨</span> <span class='Function'><</span> <span class='Value'>π©</span></code>: Lesser Than</a></h2> +<h2 id="π¨--π©-lesser-than"><a class="header" href="#π¨--π©-lesser-than"><code><span class='Value'>π¨</span> <span class='Function'><</span> <span class='Value'>π©</span></code>: Lesser Than</a></h2> <p><code><span class='Value'>π¨</span></code> and <code><span class='Value'>π©</span></code> can both be either numbers or characters.</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=ICAxIDwgMwoKICAy4oC/M+KAvzAgPCAz4oC/MeKAvzA=">βοΈ</a><pre> <span class='Number'>1</span> <span class='Function'><</span> <span class='Number'>3</span> diff --git a/docs/help/enlist_pair.html b/docs/help/enlist_pair.html index a1470004..2915532b 100644 --- a/docs/help/enlist_pair.html +++ b/docs/help/enlist_pair.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="bow-tie-"><a class="header" href="#bow-tie-">Bow Tie (<code><span class='Function'>β</span></code>)</a></h1> -<h2 id="--enlist"><a class="header" href="#--enlist"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: Enlist</a></h2> +<h2 id="-π©-enlist"><a class="header" href="#-π©-enlist"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: Enlist</a></h2> <p>Put <code><span class='Value'>π©</span></code> in a single element list. (<code><span class='Bracket'>β¨</span><span class='Value'>π©</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=ICDii4ggMQoKICDii4ggNOKAvzQg4qWKIDPigL82N+KAvzjigL8w">βοΈ</a><pre> <span class='Function'>β</span> <span class='Number'>1</span> β¨ 1 β© @@ -20,7 +20,7 @@ β β </pre> -<h2 id="---pair"><a class="header" href="#---pair"><code><span class='Value'>π¨</span> <span class='Function'>β</span> <span class='Value'>π©</span></code>: Pair</a></h2> +<h2 id="π¨--π©-pair"><a class="header" href="#π¨--π©-pair"><code><span class='Value'>π¨</span> <span class='Function'>β</span> <span class='Value'>π©</span></code>: Pair</a></h2> <p>Put <code><span class='Value'>π¨</span></code> and <code><span class='Value'>π©</span></code> in a two element list. (<code><span class='Bracket'>β¨</span><span class='Value'>π¨</span><span class='Separator'>,</span> <span class='Value'>π©</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=ICAxIOKLiCAyCgogIDEg4ouIICJkc2Rhc2RhcyIKCiAgKDPigL8zIOKliiAzKSDii4ggNjfigL8nYSfigL8iZXhhbXBsZSI=">βοΈ</a><pre> <span class='Number'>1</span> <span class='Function'>β</span> <span class='Number'>2</span> β¨ 1 2 β© diff --git a/docs/help/exponential_power.html b/docs/help/exponential_power.html index 0939787c..e063d1f9 100644 --- a/docs/help/exponential_power.html +++ b/docs/help/exponential_power.html @@ -5,13 +5,13 @@ </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="star-"><a class="header" href="#star-">Star (<code><span class='Function'>β</span></code>)</a></h1> -<h2 id="--exponential"><a class="header" href="#--exponential"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: Exponential</a></h2> +<h2 id="-π©-exponential"><a class="header" href="#-π©-exponential"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: Exponential</a></h2> <p><code><span class='Value'>e</span></code> (Euler's constant) to the power of <code><span class='Value'>π©</span></code>.</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=ICDii4YgMOKAvzHigL8y4oC/Mw==">βοΈ</a><pre> <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'>3</span> β¨ 1 2.718281828459045 7.38905609893065 20.08553692318767 β© </pre> -<h2 id="---power"><a class="header" href="#---power"><code><span class='Value'>π¨</span> <span class='Function'>β</span> <span class='Value'>π©</span></code>: Power</a></h2> +<h2 id="π¨--π©-power"><a class="header" href="#π¨--π©-power"><code><span class='Value'>π¨</span> <span class='Function'>β</span> <span class='Value'>π©</span></code>: Power</a></h2> <p><code><span class='Value'>π¨</span></code> to the power of <code><span class='Value'>π©</span></code>.</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=ICAyIOKLhiA1CgogIDjigL814oC/OSDii4YgMgoKICAy4oC/MyDii4YgM+KAv8KvNA==">βοΈ</a><pre> <span class='Number'>2</span> <span class='Function'>β</span> <span class='Number'>5</span> diff --git a/docs/help/export.html b/docs/help/export.html index 6fee8a1c..5fbbef78 100644 --- a/docs/help/export.html +++ b/docs/help/export.html @@ -13,7 +13,7 @@ <span class='Value'>ns.unexported</span> <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> +<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> <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> diff --git a/docs/help/first_pick.html b/docs/help/first_pick.html index e2d98d30..1e70daf4 100644 --- a/docs/help/first_pick.html +++ b/docs/help/first_pick.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="square-image-of-or-equal-to-"><a class="header" href="#square-image-of-or-equal-to-">Square Image Of Or Equal To (<code><span class='Function'>β</span></code>)</a></h1> -<h2 id="--first"><a class="header" href="#--first"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: First</a></h2> +<h2 id="-π©-first"><a class="header" href="#-π©-first"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: First</a></h2> <p>First element 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=ICAg4oqRIOKfqDEsIDIsIDPin6kKCiAgIGEg4oaQIDPigL8zIOKliiDihpU5CgogICDiipEgYQ==">βοΈ</a><pre> <span class='Function'>β</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 @@ -15,7 +15,7 @@ <span class='Function'>β</span> <span class='Value'>a</span> 0 </pre> -<h2 id="---pick"><a class="header" href="#---pick"><code><span class='Value'>π¨</span> <span class='Function'>β</span> <span class='Value'>π©</span></code>: Pick</a></h2> +<h2 id="π¨--π©-pick"><a class="header" href="#π¨--π©-pick"><code><span class='Value'>π¨</span> <span class='Function'>β</span> <span class='Value'>π©</span></code>: Pick</a></h2> <p>Pick the element of <code><span class='Value'>π¨</span></code> at index <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=ICAgMiDiipEg4p+oMSwgMiwgM+KfqQoKICAgYiDihpAgM+KAvzMg4qWKIOKGlTkKCiAgIDLigL8wIOKKkSBi">βοΈ</a><pre> <span class='Number'>2</span> <span class='Function'>β</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> 3 diff --git a/docs/help/firstcell_select.html b/docs/help/firstcell_select.html index 2207294d..c24a2bcd 100644 --- a/docs/help/firstcell_select.html +++ b/docs/help/firstcell_select.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="square-image-of-"><a class="header" href="#square-image-of-">Square Image Of (<code><span class='Function'>β</span></code>)</a></h1> -<h2 id="--first-cell"><a class="header" href="#--first-cell"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: First Cell</a></h2> +<h2 id="-π©-first-cell"><a class="header" href="#-π©-first-cell"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: First Cell</a></h2> <p>First 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=ICAg4oqPIOKfqDEsIDIsIDPin6kKCiAgIGEg4oaQIDPigL8zIOKliiDihpU5CgogICDiio8gYQ==">βοΈ</a><pre> <span class='Function'>β</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> βΒ· @@ -17,7 +17,7 @@ <span class='Function'>β</span> <span class='Value'>a</span> β¨ 0 1 2 β© </pre> -<h2 id="---select"><a class="header" href="#---select"><code><span class='Value'>π¨</span> <span class='Function'>β</span> <span class='Value'>π©</span></code>: Select</a></h2> +<h2 id="π¨--π©-select"><a class="header" href="#π¨--π©-select"><code><span class='Value'>π¨</span> <span class='Function'>β</span> <span class='Value'>π©</span></code>: Select</a></h2> <p>Select the major cells of <code><span class='Value'>π¨</span></code> at the indices in <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=ICAgMuKAvzAg4oqPIOKfqDEsIDIsIDPin6kKCiAgIGIg4oaQIDPigL8zIOKliiDihpU5CgogICAy4oC/MCDiio8gYg==">βοΈ</a><pre> <span class='Number'>2</span><span class='Ligature'>βΏ</span><span class='Number'>0</span> <span class='Function'>β</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> β¨ 3 1 β© diff --git a/docs/help/floor_minimum.html b/docs/help/floor_minimum.html index 1d6c8d6f..92d6135e 100644 --- a/docs/help/floor_minimum.html +++ b/docs/help/floor_minimum.html @@ -5,13 +5,13 @@ </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="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> +<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><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 β© </pre> -<h2 id="---minimum"><a class="header" href="#---minimum"><code><span class='Value'>π¨</span> <span class='Function'>β</span> <span class='Value'>π©</span></code>: Minimum</a></h2> +<h2 id="π¨--π©-minimum"><a class="header" href="#π¨--π©-minimum"><code><span class='Value'>π¨</span> <span class='Function'>β</span> <span class='Value'>π©</span></code>: Minimum</a></h2> <p>Minimum of <code><span class='Value'>π¨</span></code> and <code><span class='Value'>π©</span></code>.</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=ICAxIOKMiiAyCgogIDLigL8zIOKMiiA04oC/Mg==">βοΈ</a><pre> <span class='Number'>1</span> <span class='Function'>β</span> <span class='Number'>2</span> diff --git a/docs/help/fold.html b/docs/help/fold.html index 0d208e27..4737c9a8 100644 --- a/docs/help/fold.html +++ b/docs/help/fold.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="acute-accent-"><a class="header" href="#acute-accent-">Acute Accent (<code><span class='Modifier'>Β΄</span></code>)</a></h1> -<h2 id="--fold"><a class="header" href="#--fold"><code><span class='Function'>π½</span><span class='Modifier'>Β΄</span> <span class='Value'>π©</span></code>: Fold</a></h2> +<h2 id="π½-π©-fold"><a class="header" href="#π½-π©-fold"><code><span class='Function'>π½</span><span class='Modifier'>Β΄</span> <span class='Value'>π©</span></code>: Fold</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 elements of <code><span class='Value'>π©</span></code>.</p> <p><code><span class='Value'>π©</span></code> must be a simple list (<code><span class='Number'>1</span> <span class='Function'>=</span> <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=ICAgK8K0IDHigL8y4oC/MwoKICAgMSsyKzMKCiAgIC3CtCAx4oC/MuKAvzMKCiAgIDEtMi0z">βοΈ</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> @@ -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 fd32415e..2491ab57 100644 --- a/docs/help/gradedown_binsdown.html +++ b/docs/help/gradedown_binsdown.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="del-stile-"><a class="header" href="#del-stile-">Del Stile (<code><span class='Function'>β</span></code>)</a></h1> -<h2 id="--grade-down"><a class="header" href="#--grade-down"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: Grade Down</a></h2> +<h2 id="-π©-grade-down"><a class="header" href="#-π©-grade-down"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: Grade Down</a></h2> <p>Indices of <code><span class='Value'>π©</span></code> that would sort its major cells in descending order.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgYSDihpAgMeKAvzLigL8zCgogICDijZIgYQoKICAgKOKNkmEpIOKKjyBh">βοΈ</a><pre> <span class='Value'>a</span> <span class='Gets'>β</span> <span class='Number'>1</span><span class='Ligature'>βΏ</span><span class='Number'>2</span><span class='Ligature'>βΏ</span><span class='Number'>3</span> @@ -15,7 +15,7 @@ <span class='Paren'>(</span><span class='Function'>β</span><span class='Value'>a</span><span class='Paren'>)</span> <span class='Function'>β</span> <span class='Value'>a</span> β¨ 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> +<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><code><span class='Value'>π¨</span></code> must be sorted in descending order.</p> <p><a href="../doc/arithmetic.html#pervasion">Right Pervasive.</a></p> diff --git a/docs/help/gradeup_binsup.html b/docs/help/gradeup_binsup.html index 8fdff64f..580798e9 100644 --- a/docs/help/gradeup_binsup.html +++ b/docs/help/gradeup_binsup.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="delta-stile-"><a class="header" href="#delta-stile-">Delta Stile (<code><span class='Function'>β</span></code>)</a></h1> -<h2 id="--grade-up"><a class="header" href="#--grade-up"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: Grade Up</a></h2> +<h2 id="-π©-grade-up"><a class="header" href="#-π©-grade-up"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: Grade Up</a></h2> <p>Indices of <code><span class='Value'>π©</span></code> that would sort its major cells in ascending order.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgYSDihpAgM+KAvzLigL8xCgogICDijYsgYQoKICAgKOKNi2EpIOKKjyBh">βοΈ</a><pre> <span class='Value'>a</span> <span class='Gets'>β</span> <span class='Number'>3</span><span class='Ligature'>βΏ</span><span class='Number'>2</span><span class='Ligature'>βΏ</span><span class='Number'>1</span> @@ -15,7 +15,7 @@ <span class='Paren'>(</span><span class='Function'>β</span><span class='Value'>a</span><span class='Paren'>)</span> <span class='Function'>β</span> <span class='Value'>a</span> β¨ 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> +<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><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/greaterthanorequalto.html b/docs/help/greaterthanorequalto.html index de00d15a..635fd9cd 100644 --- a/docs/help/greaterthanorequalto.html +++ b/docs/help/greaterthanorequalto.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="greater-than-or-equal-to-"><a class="header" href="#greater-than-or-equal-to-">Greater Than or Equal To (<code><span class='Function'>β₯</span></code>)</a></h1> -<h2 id="---greater-than-or-equal-to"><a class="header" href="#---greater-than-or-equal-to"><code><span class='Value'>π¨</span> <span class='Function'>β₯</span> <span class='Value'>π©</span></code>: Greater Than or Equal To</a></h2> +<h2 id="π¨--π©-greater-than-or-equal-to"><a class="header" href="#π¨--π©-greater-than-or-equal-to"><code><span class='Value'>π¨</span> <span class='Function'>β₯</span> <span class='Value'>π©</span></code>: Greater Than or Equal To</a></h2> <p><code><span class='Value'>π¨</span></code> and <code><span class='Value'>π©</span></code> can both be either numbers or characters.</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=ICAxIOKJpSAzCgogIDLigL8z4oC/MCDiiaUgM+KAvzHigL8w">βοΈ</a><pre> <span class='Number'>1</span> <span class='Function'>β₯</span> <span class='Number'>3</span> diff --git a/docs/help/groupindices_group.html b/docs/help/groupindices_group.html index 55be5ee1..9c0742c1 100644 --- a/docs/help/groupindices_group.html +++ b/docs/help/groupindices_group.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="square-cup-"><a class="header" href="#square-cup-">Square Cup (<code><span class='Function'>β</span></code>)</a></h1> -<h2 id="--group-indices"><a class="header" href="#--group-indices"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: Group Indices</a></h2> +<h2 id="-π©-group-indices"><a class="header" href="#-π©-group-indices"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: Group Indices</a></h2> <p>Group the indices of the major cells of <code><span class='Value'>π©</span></code> by their respective values.</p> <p><code><span class='Value'>π©</span></code> must consist of integers. Groups start from 0.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAg4oqUIDTigL814oC/NuKAvzbigL804oC/N+KAvzUKCiAgICjihpU4KSDiiY0g4oqUIDTigL814oC/NuKAvzbigL804oC/N+KAvzU=">βοΈ</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> @@ -17,7 +17,7 @@ β¨β© β¨β© β¨β© β¨β© β¨ 0 4 β© β¨ 1 6 β© β¨ 2 3 β© β¨ 5 β© β </pre> -<h2 id="---group"><a class="header" href="#---group"><code><span class='Value'>π¨</span> <span class='Function'>β</span> <span class='Value'>π©</span></code>: Group</a></h2> +<h2 id="π¨--π©-group"><a class="header" href="#π¨--π©-group"><code><span class='Value'>π¨</span> <span class='Function'>β</span> <span class='Value'>π©</span></code>: Group</a></h2> <p>Group the major cells of <code><span class='Value'>π©</span></code> by their respective indices in <code><span class='Value'>π¨</span></code>.</p> <p>If an element corresponds to <code><span class='Number'>Β―1</span></code>, it is excluded from grouping.</p> <p>An extra element can be added to the end of <code><span class='Value'>π¨</span></code> to specify length of the result.</p> diff --git a/docs/help/identity_left.html b/docs/help/identity_left.html index 57e03eae..e538aba8 100644 --- a/docs/help/identity_left.html +++ b/docs/help/identity_left.html @@ -5,12 +5,12 @@ </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="left-tack-"><a class="header" href="#left-tack-">Left Tack (<code><span class='Function'>β£</span></code>)</a></h1> -<h2 id="--identity"><a class="header" href="#--identity"><code><span class='Function'>β£</span> <span class='Value'>π©</span></code>: Identity</a></h2> +<h2 id="-π©-identity"><a class="header" href="#-π©-identity"><code><span class='Function'>β£</span> <span class='Value'>π©</span></code>: Identity</a></h2> <p>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=ICDiiqMgNQ==">βοΈ</a><pre> <span class='Function'>β£</span> <span class='Number'>5</span> 5 </pre> -<h2 id="---left"><a class="header" href="#---left"><code><span class='Value'>π¨</span> <span class='Function'>β£</span> <span class='Value'>π©</span></code>: Left</a></h2> +<h2 id="π¨--π©-left"><a class="header" href="#π¨--π©-left"><code><span class='Value'>π¨</span> <span class='Function'>β£</span> <span class='Value'>π©</span></code>: Left</a></h2> <p>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=ICA1IOKKoyA4CgogICdhJyDiiqMgMeKAvzLigL8z">βοΈ</a><pre> <span class='Number'>5</span> <span class='Function'>β£</span> <span class='Number'>8</span> 5 diff --git a/docs/help/identity_right.html b/docs/help/identity_right.html index d233e6a0..c77c82bc 100644 --- a/docs/help/identity_right.html +++ b/docs/help/identity_right.html @@ -5,12 +5,12 @@ </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="right-tack-"><a class="header" href="#right-tack-">Right Tack (<code><span class='Function'>β’</span></code>)</a></h1> -<h2 id="--identity"><a class="header" href="#--identity"><code><span class='Function'>β’</span> <span class='Value'>π©</span></code>: Identity</a></h2> +<h2 id="-π©-identity"><a class="header" href="#-π©-identity"><code><span class='Function'>β’</span> <span class='Value'>π©</span></code>: Identity</a></h2> <p>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=ICDiiqIgNQ==">βοΈ</a><pre> <span class='Function'>β’</span> <span class='Number'>5</span> 5 </pre> -<h2 id="---right"><a class="header" href="#---right"><code><span class='Value'>π¨</span> <span class='Function'>β’</span> <span class='Value'>π©</span></code>: Right</a></h2> +<h2 id="π¨--π©-right"><a class="header" href="#π¨--π©-right"><code><span class='Value'>π¨</span> <span class='Function'>β’</span> <span class='Value'>π©</span></code>: Right</a></h2> <p>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=ICA1IOKKoiA4CgogICdhJyDiiqIgMeKAvzLigL8z">βοΈ</a><pre> <span class='Number'>5</span> <span class='Function'>β’</span> <span class='Number'>8</span> 8 diff --git a/docs/help/indices_replicate.html b/docs/help/indices_replicate.html index 3a98ac80..56590c4d 100644 --- a/docs/help/indices_replicate.html +++ b/docs/help/indices_replicate.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="solidus-"><a class="header" href="#solidus-">Solidus (<code><span class='Function'>/</span></code>)</a></h1> -<h2 id="--indices"><a class="header" href="#--indices"><code><span class='Function'>/</span> <span class='Value'>π©</span></code>: Indices</a></h2> +<h2 id="-π©-indices"><a class="header" href="#-π©-indices"><code><span class='Function'>/</span> <span class='Value'>π©</span></code>: Indices</a></h2> <p>Repeat the index of each element in <code><span class='Value'>π©</span></code> by the element's value. <code><span class='Value'>π©</span></code> must be rank 1.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgLyAx4oC/MuKAvzMKCiAgIC8gMeKAvzDigL8x">βοΈ</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> β¨ 0 1 1 2 2 2 β© @@ -13,7 +13,7 @@ <span class='Function'>/</span> <span class='Number'>1</span><span class='Ligature'>βΏ</span><span class='Number'>0</span><span class='Ligature'>βΏ</span><span class='Number'>1</span> β¨ 0 2 β© </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> +<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> <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> diff --git a/docs/help/insert.html b/docs/help/insert.html index 43f9babb..1206deed 100644 --- a/docs/help/insert.html +++ b/docs/help/insert.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="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> +<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> <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> @@ -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 fcc69954..46cd0df2 100644 --- a/docs/help/join_jointo.html +++ b/docs/help/join_jointo.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="lazy-s-"><a class="header" href="#lazy-s-">Lazy S (<code><span class='Function'>βΎ</span></code>)</a></h1> -<h2 id="--join"><a class="header" href="#--join"><code><span class='Function'>βΎ</span> <span class='Value'>π©</span></code>: Join</a></h2> +<h2 id="-π©-join"><a class="header" href="#-π©-join"><code><span class='Function'>βΎ</span> <span class='Value'>π©</span></code>: Join</a></h2> <p>Join all elements of <code><span class='Value'>π©</span></code> together.</p> <p>Element ranks must be compatible.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAg4oi+IOKfqDHigL8yLCAzLCA04oC/NeKfqQoKICAgbSDihpAgKDPigL8x4omN4oycNOKAvzLigL81KSDipYrCqCAy4oC/M+KliuKGlTYKCiAgIOKIviBt">βοΈ</a><pre> <span class='Function'>βΎ</span> <span class='Bracket'>β¨</span><span class='Number'>1</span><span class='Ligature'>βΏ</span><span class='Number'>2</span><span class='Separator'>,</span> <span class='Number'>3</span><span class='Separator'>,</span> <span class='Number'>4</span><span class='Ligature'>βΏ</span><span class='Number'>5</span><span class='Bracket'>β©</span> @@ -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"><a class="header" href="#π¨--π©-join"><code><span class='Value'>π¨</span> <span class='Function'>βΎ</span> <span class='Value'>π©</span></code>: Join</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/leftargument.html b/docs/help/leftargument.html index 0ffd8305..785b16f8 100644 --- a/docs/help/leftargument.html +++ b/docs/help/leftargument.html @@ -4,8 +4,8 @@ <title>BQN: Mathematical Double-struck W (π¨)</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="mathematical-double-struck-w-"><a class="header" href="#mathematical-double-struck-w-">Mathematical Double-struck W (<code><span class='Value'>π¨</span></code>)</a></h1> -<h2 id="-left-argument"><a class="header" href="#-left-argument"><code><span class='Value'>π¨</span></code>: Left Argument</a></h2> +<h1 id="mathematical-double-struck-w-π¨"><a class="header" href="#mathematical-double-struck-w-π¨">Mathematical Double-struck W (<code><span class='Value'>π¨</span></code>)</a></h1> +<h2 id="π¨-left-argument"><a class="header" href="#π¨-left-argument"><code><span class='Value'>π¨</span></code>: Left Argument</a></h2> <p>A variable assigned to the left argument of a block. <code><span class='Function'>π</span></code> can be used to access the left argument as a function.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=NSB78J2VqH0gMQ==">βοΈ</a><pre> <span class='Number'>5</span> <span class='Brace'>{</span><span class='Value'>π¨</span><span class='Brace'>}</span> <span class='Number'>1</span> 5 diff --git a/docs/help/length_notequals.html b/docs/help/length_notequals.html index d352e2de..95f7fa63 100644 --- a/docs/help/length_notequals.html +++ b/docs/help/length_notequals.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="not-equal-"><a class="header" href="#not-equal-">Not Equal (<code><span class='Function'>β </span></code>)</a></h1> -<h2 id="--length"><a class="header" href="#--length"><code><span class='Function'>β </span> <span class='Value'>π©</span></code>: Length</a></h2> +<h2 id="-π©-length"><a class="header" href="#-π©-length"><code><span class='Function'>β </span> <span class='Value'>π©</span></code>: Length</a></h2> <p>Length of the first dimension 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=ICDiiaAgMwoKICDiiaAg4p+oMSwgMiwgM+KfqQoKICDiiaAgM+KAvzTigL814qWKMAoKICDiiaAgMeKAvzTigL814qWKMAoKICDiiaAgNOKAvzTigL814qWKMA==">βοΈ</a><pre> <span class='Function'>β </span> <span class='Number'>3</span> 1 @@ -22,7 +22,7 @@ <span class='Function'>β </span> <span class='Number'>4</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'>0</span> 4 </pre> -<h2 id="---not-equal-to"><a class="header" href="#---not-equal-to"><code><span class='Value'>π¨</span> <span class='Function'>β </span> <span class='Value'>π©</span></code>: Not Equal To</a></h2> +<h2 id="π¨--π©-not-equal-to"><a class="header" href="#π¨--π©-not-equal-to"><code><span class='Value'>π¨</span> <span class='Function'>β </span> <span class='Value'>π©</span></code>: Not Equal To</a></h2> <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=ICAxIOKJoCAzCgogIDLigL8z4oC/MCDiiaAgM+KAvzHigL8wCgogICdhJyDiiaAgJ2En">βοΈ</a><pre> <span class='Number'>1</span> <span class='Function'>β </span> <span class='Number'>3</span> 1 diff --git a/docs/help/lessthanorequalto.html b/docs/help/lessthanorequalto.html index 1b157107..28550d4c 100644 --- a/docs/help/lessthanorequalto.html +++ b/docs/help/lessthanorequalto.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="lesser-than-or-equal-to-"><a class="header" href="#lesser-than-or-equal-to-">Lesser Than or Equal To (<code><span class='Function'>β€</span></code>)</a></h1> -<h2 id="---lesser-than-or-equal-to"><a class="header" href="#---lesser-than-or-equal-to"><code><span class='Value'>π¨</span> <span class='Function'>β€</span> <span class='Value'>π©</span></code>: Lesser Than or Equal To</a></h2> +<h2 id="π¨--π©-lesser-than-or-equal-to"><a class="header" href="#π¨--π©-lesser-than-or-equal-to"><code><span class='Value'>π¨</span> <span class='Function'>β€</span> <span class='Value'>π©</span></code>: Lesser Than or Equal To</a></h2> <p><code><span class='Value'>π¨</span></code> and <code><span class='Value'>π©</span></code> can both be either numbers or characters.</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=ICAxIOKJpCAzCgogIDLigL8z4oC/MCDiiaQgM+KAvzHigL8w">βοΈ</a><pre> <span class='Number'>1</span> <span class='Function'>β€</span> <span class='Number'>3</span> diff --git a/docs/help/markfirst_memberof.html b/docs/help/markfirst_memberof.html index 78d53d3e..10dfc4e7 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="-π©-unique-mask"><a class="header" href="#-π©-unique-mask"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: Unique Mask</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 β© @@ -15,7 +15,7 @@ <span class='Function'>β</span> <span class='Value'>a</span> β¨ 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> +<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> <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/merge_greaterthan.html b/docs/help/merge_greaterthan.html index f8f978ea..6dcef618 100644 --- a/docs/help/merge_greaterthan.html +++ b/docs/help/merge_greaterthan.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="greater-than-"><a class="header" href="#greater-than-">Greater Than (<code><span class='Function'>></span></code>)</a></h1> -<h2 id="--merge"><a class="header" href="#--merge"><code><span class='Function'>></span> <span class='Value'>π©</span></code>: Merge</a></h2> +<h2 id="-π©-merge"><a class="header" href="#-π©-merge"><code><span class='Function'>></span> <span class='Value'>π©</span></code>: Merge</a></h2> <p>Add the rank of an element of <code><span class='Value'>π©</span></code> to the rank of <code><span class='Value'>π©</span></code>.</p> <p>All elements must have the same rank.</p> <p>Returns atomic values as is.</p> @@ -23,7 +23,7 @@ <span class='Function'>β’></span><span class='Value'>a</span> β¨ 2 2 β© </pre> -<h2 id="---greater-than"><a class="header" href="#---greater-than"><code><span class='Value'>π¨</span> <span class='Function'>></span> <span class='Value'>π©</span></code>: Greater Than</a></h2> +<h2 id="π¨--π©-greater-than"><a class="header" href="#π¨--π©-greater-than"><code><span class='Value'>π¨</span> <span class='Function'>></span> <span class='Value'>π©</span></code>: Greater Than</a></h2> <p><code><span class='Value'>π¨</span></code> and <code><span class='Value'>π©</span></code> can both be either numbers or characters.</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=ICAxID4gMwoKICAy4oC/M+KAvzAgPiAz4oC/MeKAvzAKCiAgJ2EnID4gJ2In">βοΈ</a><pre> <span class='Number'>1</span> <span class='Function'>></span> <span class='Number'>3</span> diff --git a/docs/help/modifierleftoperand.html b/docs/help/modifierleftoperand.html index 04d5c9d4..ebffdfe9 100644 --- a/docs/help/modifierleftoperand.html +++ b/docs/help/modifierleftoperand.html @@ -4,8 +4,8 @@ <title>BQN: Mathematical Double-struck F (π½)</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="mathematical-double-struck-f-"><a class="header" href="#mathematical-double-struck-f-">Mathematical Double-struck F (<code><span class='Function'>π½</span></code>)</a></h1> -<h2 id="-modifier-left-operand"><a class="header" href="#-modifier-left-operand"><code><span class='Function'>π½</span></code>: Modifier Left operand</a></h2> +<h1 id="mathematical-double-struck-f-π½"><a class="header" href="#mathematical-double-struck-f-π½">Mathematical Double-struck F (<code><span class='Function'>π½</span></code>)</a></h1> +<h2 id="π½-modifier-left-operand"><a class="header" href="#π½-modifier-left-operand"><code><span class='Function'>π½</span></code>: Modifier Left operand</a></h2> <p>A variable assigned to the left operand of a modifier block. <code><span class='Value'>π</span></code> can be used to access the left operand as a subject.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=NSAre/CdlZfiiqPwnZWofSAx">βοΈ</a><pre> <span class='Number'>5</span> <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'>1</span> + diff --git a/docs/help/negate_subtract.html b/docs/help/negate_subtract.html index 56eb70ff..91c689cf 100644 --- a/docs/help/negate_subtract.html +++ b/docs/help/negate_subtract.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="minus--"><a class="header" href="#minus--">Minus (<code><span class='Function'>-</span></code>)</a></h1> -<h2 id="---negate"><a class="header" href="#---negate"><code><span class='Function'>-</span> <span class='Value'>π©</span></code>: Negate</a></h2> +<h2 id="--π©-negate"><a class="header" href="#--π©-negate"><code><span class='Function'>-</span> <span class='Value'>π©</span></code>: Negate</a></h2> <p>Additive Inverse of <code><span class='Value'>π©</span></code>.</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=ICAtIDEKCiAgLSDCrzE=">βοΈ</a><pre> <span class='Function'>-</span> <span class='Number'>1</span> @@ -14,7 +14,7 @@ <span class='Function'>-</span> <span class='Number'>Β―1</span> 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> +<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><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> diff --git a/docs/help/not_span.html b/docs/help/not_span.html index 219f57da..12e646e4 100644 --- a/docs/help/not_span.html +++ b/docs/help/not_span.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="not-"><a class="header" href="#not-">Not (<code><span class='Function'>Β¬</span></code>)</a></h1> -<h2 id="--logical-not"><a class="header" href="#--logical-not"><code><span class='Function'>Β¬</span> <span class='Value'>π©</span></code>: Logical Not</a></h2> +<h2 id="-π©-logical-not"><a class="header" href="#-π©-logical-not"><code><span class='Function'>Β¬</span> <span class='Value'>π©</span></code>: Logical Not</a></h2> <p>Logical Not of <code><span class='Value'>π©</span></code>.</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=ICDCrCAwCgogIMKsIDHigL8w">βοΈ</a><pre> <span class='Function'>Β¬</span> <span class='Number'>0</span> @@ -14,7 +14,7 @@ <span class='Function'>Β¬</span> <span class='Number'>1</span><span class='Ligature'>βΏ</span><span class='Number'>0</span> β¨ 0 1 β© </pre> -<h2 id="---span"><a class="header" href="#---span"><code><span class='Value'>π¨</span> <span class='Function'>Β¬</span> <span class='Value'>π©</span></code>: Span</a></h2> +<h2 id="π¨--π©-span"><a class="header" href="#π¨--π©-span"><code><span class='Value'>π¨</span> <span class='Function'>Β¬</span> <span class='Value'>π©</span></code>: Span</a></h2> <p>Count of numbers in the inclusive range from <code><span class='Value'>π©</span></code> to <code><span class='Value'>π¨</span></code>.</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=ICAzIMKsIDEKCiAgM+KAvzQgwqwgMOKAvzI=">βοΈ</a><pre> <span class='Number'>3</span> <span class='Function'>Β¬</span> <span class='Number'>1</span> diff --git a/docs/help/occurrencecount_progressiveindexof.html b/docs/help/occurrencecount_progressiveindexof.html index 11b940f2..8bace1ab 100644 --- a/docs/help/occurrencecount_progressiveindexof.html +++ b/docs/help/occurrencecount_progressiveindexof.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="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> +<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> <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 β© @@ -16,7 +16,7 @@ 0 0 0 0 1 1 2 1 1 2 0 β </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> +<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> <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/over.html b/docs/help/over.html index 39b6959b..f8f9d6ed 100644 --- a/docs/help/over.html +++ b/docs/help/over.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="circle-"><a class="header" href="#circle-">Circle (<code><span class='Modifier2'>β</span></code>)</a></h1> -<h2 id="--atop"><a class="header" href="#--atop"><code><span class='Function'>π½</span><span class='Modifier2'>β</span><span class='Function'>πΎ</span> <span class='Value'>π©</span></code>: Atop</a></h2> +<h2 id="π½πΎ-π©-atop"><a class="header" href="#π½πΎ-π©-atop"><code><span class='Function'>π½</span><span class='Modifier2'>β</span><span class='Function'>πΎ</span> <span class='Value'>π©</span></code>: Atop</a></h2> <p>Apply <code><span class='Function'>πΎ</span></code> to <code><span class='Value'>π©</span></code>, then apply <code><span class='Function'>π½</span></code> (<code><span class='Function'>π½</span> <span class='Function'>πΎ</span> <span class='Value'>π©</span></code>).</p> <p><code><span class='Function'>π½</span></code> and <code><span class='Function'>πΎ</span></code> must be monadic.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgLeKXiy0gNQoKICAgLSAtIDU=">βοΈ</a><pre> <span class='Function'>-</span><span class='Modifier2'>β</span><span class='Function'>-</span> <span class='Number'>5</span> @@ -14,7 +14,7 @@ <span class='Function'>-</span> <span class='Function'>-</span> <span class='Number'>5</span> 5 </pre> -<h2 id="---over"><a class="header" href="#---over"><code><span class='Value'>π¨</span> <span class='Function'>π½</span><span class='Modifier2'>β</span><span class='Function'>πΎ</span> <span class='Value'>π©</span></code>: Over</a></h2> +<h2 id="π¨-π½πΎ-π©-over"><a class="header" href="#π¨-π½πΎ-π©-over"><code><span class='Value'>π¨</span> <span class='Function'>π½</span><span class='Modifier2'>β</span><span class='Function'>πΎ</span> <span class='Value'>π©</span></code>: Over</a></h2> <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 them (<code><span class='Paren'>(</span><span class='Function'>πΎ</span> <span class='Value'>π¨</span><span class='Paren'>)</span> <span class='Function'>π½</span> <span class='Paren'>(</span><span class='Function'>πΎ</span> <span class='Value'>π©</span><span class='Paren'>)</span></code>).</p> <p><code><span class='Function'>π½</span></code> must be dyadic, <code><span class='Function'>πΎ</span></code> must be monadic.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgMSAr4peLLSAyCgogICAxICsgLSAyCgogICAoLSAxKSArICgtIDIp">βοΈ</a><pre> <span class='Number'>1</span> <span class='Function'>+</span><span class='Modifier2'>β</span><span class='Function'>-</span> <span class='Number'>2</span> diff --git a/docs/help/pi.html b/docs/help/pi.html index cc06f8a3..1ed7b0b5 100644 --- a/docs/help/pi.html +++ b/docs/help/pi.html @@ -4,8 +4,8 @@ <title>BQN: Pi (Ο)</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="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> +<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> <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/prefixes_take.html b/docs/help/prefixes_take.html index 3b8395bf..f483e038 100644 --- a/docs/help/prefixes_take.html +++ b/docs/help/prefixes_take.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="up-arrow-"><a class="header" href="#up-arrow-">Up Arrow (<code><span class='Function'>β</span></code>)</a></h1> -<h2 id="--prefixes"><a class="header" href="#--prefixes"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: Prefixes</a></h2> +<h2 id="-π©-prefixes"><a class="header" href="#-π©-prefixes"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: Prefixes</a></h2> <p>Prefixes of array <code><span class='Value'>π©</span></code> along its first axis.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAg4oaRIDHigL8y4oC/M+KAvzQKCiAgIGEg4oaQIDPigL8zIOKliiDihpU5CgogICDihpEgYQ==">βοΈ</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><span class='Ligature'>βΏ</span><span class='Number'>4</span> β¨ β¨β© β¨ 1 β© β¨ 1 2 β© β¨ 1 2 3 β© β¨ 1 2 3 4 β© β© @@ -21,7 +21,7 @@ β β </pre> -<h2 id="---take"><a class="header" href="#---take"><code><span class='Value'>π¨</span> <span class='Function'>β</span> <span class='Value'>π©</span></code>: Take</a></h2> +<h2 id="π¨--π©-take"><a class="header" href="#π¨--π©-take"><code><span class='Value'>π¨</span> <span class='Function'>β</span> <span class='Value'>π©</span></code>: Take</a></h2> <p>For each integer in <code><span class='Value'>π¨</span></code>, take that many elements from each dimension of <code><span class='Value'>π©</span></code>.</p> <p>Negative numbers take from the end.</p> <p>If any of the elements in <code><span class='Value'>π¨</span></code> are greater than the length of their respective dimension, the dimension is extended with a fill value.</p> diff --git a/docs/help/range_windows.html b/docs/help/range_windows.html index 1f6d2454..e480c331 100644 --- a/docs/help/range_windows.html +++ b/docs/help/range_windows.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="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> +<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> <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> @@ -19,7 +19,7 @@ β¨ 3 0 β© β¨ 3 1 β© β¨ 3 2 β© β¨ 3 3 β© β¨ 3 4 β© β </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> +<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> <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> ββ diff --git a/docs/help/rank.html b/docs/help/rank.html index cf5507a7..22fe0673 100644 --- a/docs/help/rank.html +++ b/docs/help/rank.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="circled-horizontal-bar-with-notch-"><a class="header" href="#circled-horizontal-bar-with-notch-">Circled Horizontal Bar With Notch (<code><span class='Modifier2'>β</span></code>)</a></h1> -<h2 id="-----rank"><a class="header" href="#-----rank"><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>: Rank</a></h2> +<h2 id="π½π-π©-π¨-π½π-π©-rank"><a class="header" href="#π½π-π©-π¨-π½π-π©-rank"><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>: Rank</a></h2> <p>Apply <code><span class='Function'>π½</span></code> to cells at ranks given in <code><span class='Value'>π</span></code>.</p> <p>The ranks applied are given by the following:</p> <ul> diff --git a/docs/help/rank_equals.html b/docs/help/rank_equals.html index de19fe62..fdb2053a 100644 --- a/docs/help/rank_equals.html +++ b/docs/help/rank_equals.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="equal-"><a class="header" href="#equal-">Equal (<code><span class='Function'>=</span></code>)</a></h1> -<h2 id="--rank"><a class="header" href="#--rank"><code><span class='Function'>=</span> <span class='Value'>π©</span></code>: Rank</a></h2> +<h2 id="-π©-rank"><a class="header" href="#-π©-rank"><code><span class='Function'>=</span> <span class='Value'>π©</span></code>: Rank</a></h2> <p>Returns the number of dimensions in <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=ICA9IDAKCiAgPSAz4qWKMAoKICA9IDPigL8z4qWKMAoKICAz4oC/M+KAvzMg4qWKIOKfqOKfqDDin6nin6k=">βοΈ</a><pre> <span class='Function'>=</span> <span class='Number'>0</span> 0 @@ -31,7 +31,7 @@ β¨ 0 β© β¨ 0 β© β¨ 0 β© β </pre> -<h2 id="---equal-to"><a class="header" href="#---equal-to"><code><span class='Value'>π¨</span> <span class='Function'>=</span> <span class='Value'>π©</span></code>: Equal To</a></h2> +<h2 id="π¨--π©-equal-to"><a class="header" href="#π¨--π©-equal-to"><code><span class='Value'>π¨</span> <span class='Function'>=</span> <span class='Value'>π©</span></code>: Equal To</a></h2> <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=ICAxID0gMwoKICAy4oC/M+KAvzAgPSAz4oC/MeKAvzAKCiAgJ2EnID0gJ2En">βοΈ</a><pre> <span class='Number'>1</span> <span class='Function'>=</span> <span class='Number'>3</span> 0 diff --git a/docs/help/reciprocal_divide.html b/docs/help/reciprocal_divide.html index 35e7c8a3..c0e4eb07 100644 --- a/docs/help/reciprocal_divide.html +++ b/docs/help/reciprocal_divide.html @@ -5,13 +5,13 @@ </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="divide-"><a class="header" href="#divide-">Divide (<code><span class='Function'>Γ·</span></code>)</a></h1> -<h2 id="--reciprocal"><a class="header" href="#--reciprocal"><code><span class='Function'>Γ·</span> <span class='Value'>π©</span></code>: Reciprocal</a></h2> +<h2 id="-π©-reciprocal"><a class="header" href="#-π©-reciprocal"><code><span class='Function'>Γ·</span> <span class='Value'>π©</span></code>: Reciprocal</a></h2> <p>Gives <code><span class='Number'>1</span> <span class='Function'>Γ·</span> <span class='Value'>π©</span></code>.</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=ICDDtyA1">βοΈ</a><pre> <span class='Function'>Γ·</span> <span class='Number'>5</span> 0.2 </pre> -<h2 id="---divide"><a class="header" href="#---divide"><code><span class='Value'>π¨</span> <span class='Function'>Γ·</span> <span class='Value'>π©</span></code>: Divide</a></h2> +<h2 id="π¨--π©-divide"><a class="header" href="#π¨--π©-divide"><code><span class='Value'>π¨</span> <span class='Function'>Γ·</span> <span class='Value'>π©</span></code>: Divide</a></h2> <p><code><span class='Value'>π¨</span></code> divided by <code><span class='Value'>π©</span></code>.</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=NSDDtyA0CgoxNCDDtyA3">βοΈ</a><pre> <span class='Number'>5</span> <span class='Function'>Γ·</span> <span class='Number'>4</span> diff --git a/docs/help/repeat.html b/docs/help/repeat.html index 100bd413..67d8e002 100644 --- a/docs/help/repeat.html +++ b/docs/help/repeat.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="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> +<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> <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> diff --git a/docs/help/reverse_rotate.html b/docs/help/reverse_rotate.html index 3ffc2c3f..e1885019 100644 --- a/docs/help/reverse_rotate.html +++ b/docs/help/reverse_rotate.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="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> +<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> <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="π¨--π©-dyad"><a class="header" href="#π¨--π©-dyad"><code><span class='Value'>π¨</span> <span class='Function'>β½</span> <span class='Value'>π©</span></code>: Dyad</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/rightargument.html b/docs/help/rightargument.html index 30490f54..c2f8885a 100644 --- a/docs/help/rightargument.html +++ b/docs/help/rightargument.html @@ -4,8 +4,8 @@ <title>BQN: Mathematical Double-struck X (π©)</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="mathematical-double-struck-x-"><a class="header" href="#mathematical-double-struck-x-">Mathematical Double-struck X (<code><span class='Value'>π©</span></code>)</a></h1> -<h2 id="-right-argument"><a class="header" href="#-right-argument"><code><span class='Value'>π©</span></code>: Right Argument</a></h2> +<h1 id="mathematical-double-struck-x-π©"><a class="header" href="#mathematical-double-struck-x-π©">Mathematical Double-struck X (<code><span class='Value'>π©</span></code>)</a></h1> +<h2 id="π©-right-argument"><a class="header" href="#π©-right-argument"><code><span class='Value'>π©</span></code>: Right Argument</a></h2> <p>A variable assigned to the right argument of a block. <code><span class='Function'>π</span></code> can be used to access the right argument as a function.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=NSB78J2VqX0gMQ==">βοΈ</a><pre> <span class='Number'>5</span> <span class='Brace'>{</span><span class='Value'>π©</span><span class='Brace'>}</span> <span class='Number'>1</span> 1 diff --git a/docs/help/scan.html b/docs/help/scan.html index c68b6fd2..464d9fa7 100644 --- a/docs/help/scan.html +++ b/docs/help/scan.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="grave---"><a class="header" href="#grave---">Grave (<code><span class='Modifier'>`</span></code>)</a></h1> -<h2 id="--scan"><a class="header" href="#--scan"><code><span class='Function'>π½</span><span class='Modifier'>`</span> <span class='Value'>π©</span></code>: Scan</a></h2> +<h2 id="π½-π©-scan"><a class="header" href="#π½-π©-scan"><code><span class='Function'>π½</span><span class='Modifier'>`</span> <span class='Value'>π©</span></code>: Scan</a></h2> <p>Scan over <code><span class='Value'>π©</span></code> with <code><span class='Function'>π½</span></code> from left to right, producing intermediate values.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgK2AgMeKAvzLigL8zCgogICDin6gxLCAxKzIsICgxKzIpKzPin6kKCiAgIC1gIDHigL8y4oC/MwoKICAg4p+oMSwgMS0yLCAoMS0yKS0z4p+p">βοΈ</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> β¨ 1 3 6 β© @@ -19,7 +19,7 @@ <span class='Bracket'>β¨</span><span class='Number'>1</span><span class='Separator'>,</span> <span class='Number'>1</span><span class='Function'>-</span><span class='Number'>2</span><span class='Separator'>,</span> <span class='Paren'>(</span><span class='Number'>1</span><span class='Function'>-</span><span class='Number'>2</span><span class='Paren'>)</span><span class='Function'>-</span><span class='Number'>3</span><span class='Bracket'>β©</span> β¨ 1 Β―1 Β―4 β© </pre> -<h2 id="---scan-with-initial"><a class="header" href="#---scan-with-initial"><code><span class='Value'>π¨</span> <span class='Function'>π½</span><span class='Modifier'>`</span> <span class='Value'>π©</span></code>: Scan With initial</a></h2> +<h2 id="π¨-π½-π©-scan-with-initial"><a class="header" href="#π¨-π½-π©-scan-with-initial"><code><span class='Value'>π¨</span> <span class='Function'>π½</span><span class='Modifier'>`</span> <span class='Value'>π©</span></code>: Scan With initial</a></h2> <p>Monadic scan, but use <code><span class='Value'>π¨</span></code> as initial left argument.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgNSArYCAx4oC/MuKAvzMKCiAgIOKfqDUrMSwgKDUrMSkrMiwgKCg1KzEpKzIpKzPin6kKCiAgIDUgLWAgMeKAvzLigL8zCgogICDin6g1LTEsICg1LTEpLTIsICgoNS0xKS0yKS0z4p+p">βοΈ</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> β¨ 6 8 11 β© diff --git a/docs/help/self_swap.html b/docs/help/self_swap.html index 08babae9..e06b0def 100644 --- a/docs/help/self_swap.html +++ b/docs/help/self_swap.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="small-tilde-"><a class="header" href="#small-tilde-">Small Tilde (<code><span class='Modifier'>Λ</span></code>)</a></h1> -<h2 id="--self"><a class="header" href="#--self"><code><span class='Function'>π½</span><span class='Modifier'>Λ</span> <span class='Value'>π©</span></code>: Self</a></h2> +<h2 id="π½-π©-self"><a class="header" href="#π½-π©-self"><code><span class='Function'>π½</span><span class='Modifier'>Λ</span> <span class='Value'>π©</span></code>: Self</a></h2> <p>Supplies <code><span class='Value'>π©</span></code> as a left argument to <code><span class='Function'>π½</span></code> (<code><span class='Value'>π©</span> <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=ICAgMSArIDEKCiAgICvLnCAx">βοΈ</a><pre> <span class='Number'>1</span> <span class='Function'>+</span> <span class='Number'>1</span> 2 @@ -13,7 +13,7 @@ <span class='Function'>+</span><span class='Modifier'>Λ</span> <span class='Number'>1</span> 2 </pre> -<h2 id="---swap"><a class="header" href="#---swap"><code><span class='Value'>π¨</span> <span class='Function'>π½</span><span class='Modifier'>Λ</span> <span class='Value'>π©</span></code>: Swap</a></h2> +<h2 id="π¨-π½-π©-swap"><a class="header" href="#π¨-π½-π©-swap"><code><span class='Value'>π¨</span> <span class='Function'>π½</span><span class='Modifier'>Λ</span> <span class='Value'>π©</span></code>: Swap</a></h2> <p>Swaps the arguments of <code><span class='Function'>π½</span></code> (<code><span class='Value'>π©</span> <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=ICAgMSAtIDIKCiAgIDEgLcucIDI=">βοΈ</a><pre> <span class='Number'>1</span> <span class='Function'>-</span> <span class='Number'>2</span> Β―1 diff --git a/docs/help/shape_notmatch.html b/docs/help/shape_notmatch.html index 691cc79d..f45a943f 100644 --- a/docs/help/shape_notmatch.html +++ b/docs/help/shape_notmatch.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="not-identical-to-"><a class="header" href="#not-identical-to-">Not Identical To (<code><span class='Function'>β’</span></code>)</a></h1> -<h2 id="--shape"><a class="header" href="#--shape"><code><span class='Function'>β’</span> <span class='Value'>π©</span></code>: Shape</a></h2> +<h2 id="-π©-shape"><a class="header" href="#-π©-shape"><code><span class='Function'>β’</span> <span class='Value'>π©</span></code>: Shape</a></h2> <p>Length of each dimension of x.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICDiiaIgMQoKICDiiaIgMeKAvzIKCiAg4omiIDHigL8yIOKJjSAz4oC/NA==">βοΈ</a><pre> <span class='Function'>β’</span> <span class='Number'>1</span> β¨β© @@ -16,7 +16,7 @@ <span class='Function'>β’</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> β¨ 2 2 β© </pre> -<h2 id="---not-match"><a class="header" href="#---not-match"><code><span class='Value'>π¨</span> <span class='Function'>β’</span> <span class='Value'>π©</span></code>: Not Match</a></h2> +<h2 id="π¨--π©-not-match"><a class="header" href="#π¨--π©-not-match"><code><span class='Value'>π¨</span> <span class='Function'>β’</span> <span class='Value'>π©</span></code>: Not Match</a></h2> <p>Does <code><span class='Value'>π¨</span></code> not exactly match <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=ICAxIOKJoiDin6gx4p+pCgogIOKfqDHin6kg4omiIOKfqDHin6k=">βοΈ</a><pre> <span class='Number'>1</span> <span class='Function'>β’</span> <span class='Bracket'>β¨</span><span class='Number'>1</span><span class='Bracket'>β©</span> 1 diff --git a/docs/help/shiftafter.html b/docs/help/shiftafter.html index 51c7a7df..44d6a658 100644 --- a/docs/help/shiftafter.html +++ b/docs/help/shiftafter.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="right-pointing-double-angle-quotation-"><a class="header" href="#right-pointing-double-angle-quotation-">Right Pointing Double Angle Quotation (<code><span class='Function'>Β»</span></code>)</a></h1> -<h2 id="--shift-after"><a class="header" href="#--shift-after"><code><span class='Function'>Β»</span> <span class='Value'>π©</span></code>: Shift After</a></h2> +<h2 id="-π©-shift-after"><a class="header" href="#-π©-shift-after"><code><span class='Function'>Β»</span> <span class='Value'>π©</span></code>: Shift After</a></h2> <p>Remove the last element of <code><span class='Value'>π©</span></code>, add a cell of fill values to the start of the first axis 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=ICAgwrsgMeKAvzLigL8zCgogICDCuyAz4oC/MyDipYogOQ==">βοΈ</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> β¨ 0 1 2 β© @@ -17,7 +17,7 @@ 9 9 9 β </pre> -<h2 id="---shift-after"><a class="header" href="#---shift-after"><code><span class='Value'>π¨</span> <span class='Function'>Β»</span> <span class='Value'>π©</span></code>: Shift After</a></h2> +<h2 id="π¨--π©-shift-after"><a class="header" href="#π¨--π©-shift-after"><code><span class='Value'>π¨</span> <span class='Function'>Β»</span> <span class='Value'>π©</span></code>: Shift After</a></h2> <p>Remove the last <code><span class='Function'>β </span><span class='Value'>π¨</span></code> (length) major cells from <code><span class='Value'>π©</span></code>, join <code><span class='Value'>π¨</span></code> to the start of <code><span class='Value'>π©</span></code>. Ranks must match.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgNzggwrsgMeKAvzLigL8zCgogICAx4oC/MiDCuyAx4oC/MuKAvzMKCiAgIGEg4oaQIDPigL8zIOKliiA5CgogICAx4oC/MuKAvzMgwrsgYQ==">βοΈ</a><pre> <span class='Number'>78</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> β¨ 78 1 2 β© diff --git a/docs/help/shiftbefore.html b/docs/help/shiftbefore.html index 3530a391..5b5fa049 100644 --- a/docs/help/shiftbefore.html +++ b/docs/help/shiftbefore.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="left-pointing-double-angle-quotation-"><a class="header" href="#left-pointing-double-angle-quotation-">Left Pointing Double Angle Quotation (<code><span class='Function'>Β«</span></code>)</a></h1> -<h2 id="--shift-before"><a class="header" href="#--shift-before"><code><span class='Function'>Β«</span> <span class='Value'>π©</span></code>: Shift Before</a></h2> +<h2 id="-π©-shift-before"><a class="header" href="#-π©-shift-before"><code><span class='Function'>Β«</span> <span class='Value'>π©</span></code>: Shift Before</a></h2> <p>Remove the first element of <code><span class='Value'>π©</span></code>, add a cell of fill values to the end of the first axis 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=ICAgNzggwqsgMeKAvzLigL8zCgogICDCqyAx4oC/MuKAvzMKCiAgIMKrIDPigL8zIOKliiA5">βοΈ</a><pre> <span class='Number'>78</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> β¨ 2 3 78 β© @@ -20,7 +20,7 @@ 0 0 0 β </pre> -<h2 id="---shift-before"><a class="header" href="#---shift-before"><code><span class='Value'>π¨</span> <span class='Function'>Β«</span> <span class='Value'>π©</span></code>: Shift Before</a></h2> +<h2 id="π¨--π©-shift-before"><a class="header" href="#π¨--π©-shift-before"><code><span class='Value'>π¨</span> <span class='Function'>Β«</span> <span class='Value'>π©</span></code>: Shift Before</a></h2> <p>Remove the first <code><span class='Function'>β </span><span class='Value'>π¨</span></code> (length) major cells from <code><span class='Value'>π©</span></code>, join <code><span class='Value'>π¨</span></code> to the end of <code><span class='Value'>π©</span></code>. Ranks must match.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgOOKAvzUgwqsgMeKAvzLigL8zCgogICBhIOKGkCAz4oC/MyDipYogOQoKICAgMeKAvzLigL8zIMKrIGE=">βοΈ</a><pre> <span class='Number'>8</span><span class='Ligature'>βΏ</span><span class='Number'>5</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 8 5 β© diff --git a/docs/help/sign_multiply.html b/docs/help/sign_multiply.html index eca5ad38..11cb1998 100644 --- a/docs/help/sign_multiply.html +++ b/docs/help/sign_multiply.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="times-"><a class="header" href="#times-">Times (<code><span class='Function'>Γ</span></code>)</a></h1> -<h2 id="--sign"><a class="header" href="#--sign"><code><span class='Function'>Γ</span> <span class='Value'>π©</span></code>: Sign</a></h2> +<h2 id="-π©-sign"><a class="header" href="#-π©-sign"><code><span class='Function'>Γ</span> <span class='Value'>π©</span></code>: Sign</a></h2> <p>Sign of <code><span class='Value'>π©</span></code>.</p> <ul> <li><code><span class='Number'>Β―1</span></code> if <code><span class='Value'>π©</span> <span class='Function'><</span> <span class='Number'>0</span></code></li> @@ -16,7 +16,7 @@ <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICDDlyDCrzXigL8w4oC/NeKAvzE=">βοΈ</a><pre> <span class='Function'>Γ</span> <span class='Number'>Β―5</span><span class='Ligature'>βΏ</span><span class='Number'>0</span><span class='Ligature'>βΏ</span><span class='Number'>5</span><span class='Ligature'>βΏ</span><span class='Number'>1</span> β¨ Β―1 0 1 1 β© </pre> -<h2 id="---multiply"><a class="header" href="#---multiply"><code><span class='Value'>π¨</span> <span class='Function'>Γ</span> <span class='Value'>π©</span></code>: Multiply</a></h2> +<h2 id="π¨--π©-multiply"><a class="header" href="#π¨--π©-multiply"><code><span class='Value'>π¨</span> <span class='Function'>Γ</span> <span class='Value'>π©</span></code>: Multiply</a></h2> <p><code><span class='Value'>π¨</span></code> multiplied by <code><span class='Value'>π©</span></code>.</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=ICAxIMOXIDIKCiAgMiDDlyAy4oC/M+KAvzQ=">βοΈ</a><pre> <span class='Number'>1</span> <span class='Function'>Γ</span> <span class='Number'>2</span> diff --git a/docs/help/solo_couple.html b/docs/help/solo_couple.html index f462b9a4..ad526c1c 100644 --- a/docs/help/solo_couple.html +++ b/docs/help/solo_couple.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="tape-"><a class="header" href="#tape-">Tape (<code><span class='Function'>β</span></code>)</a></h1> -<h2 id="--solo"><a class="header" href="#--solo"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: Solo</a></h2> +<h2 id="-π©-solo"><a class="header" href="#-π©-solo"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: Solo</a></h2> <p>Add a dimension to <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=ICDiiY0gMQoKCiAg4omN4omNIDEKCgog4omN4omN4omNIDEKCgog4omN4omNIDHigL8y4oC/M+KAvzQKCgog4omN4omN4omNIDHigL8y4oC/M+KAvzQ=">βοΈ</a><pre> <span class='Function'>β</span> <span class='Number'>1</span> β¨ 1 β© @@ -34,7 +34,7 @@ β 1 2 3 4 β </pre> -<h2 id="---couple"><a class="header" href="#---couple"><code><span class='Value'>π¨</span> <span class='Function'>β</span> <span class='Value'>π©</span></code>: Couple</a></h2> +<h2 id="π¨--π©-couple"><a class="header" href="#π¨--π©-couple"><code><span class='Value'>π¨</span> <span class='Function'>β</span> <span class='Value'>π©</span></code>: Couple</a></h2> <p>Join <code><span class='Value'>π¨</span></code> and <code><span class='Value'>π©</span></code> along a newly created axis.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgMSDiiY0gMwoKICAgMeKAvzIg4omNIDLigL8z">βοΈ</a><pre> <span class='Number'>1</span> <span class='Function'>β</span> <span class='Number'>3</span> β¨ 1 3 β© diff --git a/docs/help/sortdown_or.html b/docs/help/sortdown_or.html index 93125592..ef55b509 100644 --- a/docs/help/sortdown_or.html +++ b/docs/help/sortdown_or.html @@ -5,12 +5,12 @@ </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="logical-or-"><a class="header" href="#logical-or-">Logical Or (<code><span class='Function'>β¨</span></code>)</a></h1> -<h2 id="--sort-down"><a class="header" href="#--sort-down"><code><span class='Function'>β¨</span> <span class='Value'>π©</span></code>: Sort Down</a></h2> +<h2 id="-π©-sort-down"><a class="header" href="#-π©-sort-down"><code><span class='Function'>β¨</span> <span class='Value'>π©</span></code>: Sort Down</a></h2> <p>Sort array <code><span class='Value'>π©</span></code> in descending order.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICDiiKggM+KAvzHigL804oC/MeKAvzU=">βοΈ</a><pre> <span class='Function'>β¨</span> <span class='Number'>3</span><span class='Ligature'>βΏ</span><span class='Number'>1</span><span class='Ligature'>βΏ</span><span class='Number'>4</span><span class='Ligature'>βΏ</span><span class='Number'>1</span><span class='Ligature'>βΏ</span><span class='Number'>5</span> β¨ 5 4 3 1 1 β© </pre> -<h2 id="---logical-or"><a class="header" href="#---logical-or"><code><span class='Value'>π¨</span> <span class='Function'>β¨</span> <span class='Value'>π©</span></code>: Logical Or</a></h2> +<h2 id="π¨--π©-logical-or"><a class="header" href="#π¨--π©-logical-or"><code><span class='Value'>π¨</span> <span class='Function'>β¨</span> <span class='Value'>π©</span></code>: Logical Or</a></h2> <p>Logical Or of <code><span class='Value'>π¨</span></code> and <code><span class='Value'>π©</span></code>.</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=ICAxIOKIqCAwCgogIDHigL8wIOKIqCAx4oC/MQoKICAwIOKIqCAw">βοΈ</a><pre> <span class='Number'>1</span> <span class='Function'>β¨</span> <span class='Number'>0</span> diff --git a/docs/help/sortup_and.html b/docs/help/sortup_and.html index 670d7494..ede53653 100644 --- a/docs/help/sortup_and.html +++ b/docs/help/sortup_and.html @@ -5,12 +5,12 @@ </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="logical-and-"><a class="header" href="#logical-and-">Logical And (<code><span class='Function'>β§</span></code>)</a></h1> -<h2 id="--sort-up"><a class="header" href="#--sort-up"><code><span class='Function'>β§</span> <span class='Value'>π©</span></code>: Sort Up</a></h2> +<h2 id="-π©-sort-up"><a class="header" href="#-π©-sort-up"><code><span class='Function'>β§</span> <span class='Value'>π©</span></code>: Sort Up</a></h2> <p>Sort array <code><span class='Value'>π©</span></code> in ascending order.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICDiiKcgM+KAvzHigL804oC/MeKAvzU=">βοΈ</a><pre> <span class='Function'>β§</span> <span class='Number'>3</span><span class='Ligature'>βΏ</span><span class='Number'>1</span><span class='Ligature'>βΏ</span><span class='Number'>4</span><span class='Ligature'>βΏ</span><span class='Number'>1</span><span class='Ligature'>βΏ</span><span class='Number'>5</span> β¨ 1 1 3 4 5 β© </pre> -<h2 id="---logical-and"><a class="header" href="#---logical-and"><code><span class='Value'>π¨</span> <span class='Function'>β§</span> <span class='Value'>π©</span></code>: Logical And</a></h2> +<h2 id="π¨--π©-logical-and"><a class="header" href="#π¨--π©-logical-and"><code><span class='Value'>π¨</span> <span class='Function'>β§</span> <span class='Value'>π©</span></code>: Logical And</a></h2> <p>Logical And of <code><span class='Value'>π¨</span></code> and <code><span class='Value'>π©</span></code>.</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=ICAxIOKIpyAxCgogIDHigL8wIOKIpyAx4oC/MQ==">βοΈ</a><pre> <span class='Number'>1</span> <span class='Function'>β§</span> <span class='Number'>1</span> diff --git a/docs/help/squareroot_root.html b/docs/help/squareroot_root.html index ae46dceb..b685d544 100644 --- a/docs/help/squareroot_root.html +++ b/docs/help/squareroot_root.html @@ -5,12 +5,12 @@ </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="root-"><a class="header" href="#root-">Root (<code><span class='Function'>β</span></code>)</a></h1> -<h2 id="--square-root"><a class="header" href="#--square-root"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: Square root</a></h2> +<h2 id="-π©-square-root"><a class="header" href="#-π©-square-root"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: Square root</a></h2> <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=ICDiiJogMg==">βοΈ</a><pre> <span class='Function'>β</span> <span class='Number'>2</span> 1.414213562373095 </pre> -<h2 id="---root"><a class="header" href="#---root"><code><span class='Value'>π¨</span> <span class='Function'>β</span> <span class='Value'>π©</span></code>: Root</a></h2> +<h2 id="π¨--π©-root"><a class="header" href="#π¨--π©-root"><code><span class='Value'>π¨</span> <span class='Function'>β</span> <span class='Value'>π©</span></code>: Root</a></h2> <p><code><span class='Value'>π¨</span></code>th root of <code><span class='Value'>π©</span></code>.</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=ICAyIOKImiAyCgogIDHigL8y4oC/M+KAvzQg4oiaIDQ=">βοΈ</a><pre> <span class='Number'>2</span> <span class='Function'>β</span> <span class='Number'>2</span> diff --git a/docs/help/suffixes_drop.html b/docs/help/suffixes_drop.html index 89b3c1c7..4cb1a36c 100644 --- a/docs/help/suffixes_drop.html +++ b/docs/help/suffixes_drop.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="down-arrow-"><a class="header" href="#down-arrow-">Down Arrow (<code><span class='Function'>β</span></code>)</a></h1> -<h2 id="--suffixes"><a class="header" href="#--suffixes"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: Suffixes</a></h2> +<h2 id="-π©-suffixes"><a class="header" href="#-π©-suffixes"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: Suffixes</a></h2> <p>Suffixes of array <code><span class='Value'>π©</span></code> along its first axis.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAg4oaTIDHigL8y4oC/M+KAvzQKCiAgIGEg4oaQIDPigL8zIOKliiDihpU5CgogICDihpMgYQ==">βοΈ</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><span class='Ligature'>βΏ</span><span class='Number'>4</span> β¨ β¨ 1 2 3 4 β© β¨ 2 3 4 β© β¨ 3 4 β© β¨ 4 β© β¨β© β© @@ -21,7 +21,7 @@ β β </pre> -<h2 id="---drop"><a class="header" href="#---drop"><code><span class='Value'>π¨</span> <span class='Function'>β</span> <span class='Value'>π©</span></code>: Drop</a></h2> +<h2 id="π¨--π©-drop"><a class="header" href="#π¨--π©-drop"><code><span class='Value'>π¨</span> <span class='Function'>β</span> <span class='Value'>π©</span></code>: Drop</a></h2> <p>For each integer in <code><span class='Value'>π¨</span></code>, drop that many elements from the beginning of each dimension of <code><span class='Value'>π©</span></code>.</p> <p>Negative numbers drop from the end.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgMyDihpMgMeKAvzPigL814oC/NjcKCiAgIGIg4oaQIDTigL80IOKliiDihpUxNgoKICAgM+KAvzMg4oaTIGIKCiAgIDXigL81IOKGkyBiCgoKICAgM+KAv8KvMyDihpMgYg==">βοΈ</a><pre> <span class='Number'>3</span> <span class='Function'>β</span> <span class='Number'>1</span><span class='Ligature'>βΏ</span><span class='Number'>3</span><span class='Ligature'>βΏ</span><span class='Number'>5</span><span class='Ligature'>βΏ</span><span class='Number'>67</span> diff --git a/docs/help/table.html b/docs/help/table.html index 37fae089..30e52d2a 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="π¨-π½-π©-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> <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> ββ diff --git a/docs/help/transpose_reorderaxes.html b/docs/help/transpose_reorderaxes.html index 7761b874..42c50210 100644 --- a/docs/help/transpose_reorderaxes.html +++ b/docs/help/transpose_reorderaxes.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="circle-backslash-"><a class="header" href="#circle-backslash-">Circle Backslash (<code><span class='Function'>β</span></code>)</a></h1> -<h2 id="--transpose"><a class="header" href="#--transpose"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: Transpose</a></h2> +<h2 id="-π©-transpose"><a class="header" href="#-π©-transpose"><code><span class='Function'>β</span> <span class='Value'>π©</span></code>: Transpose</a></h2> <p>Move the first axis of <code><span class='Value'>π©</span></code> to the end.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgYSDihpAgM+KAvzMg4qWKIOKGlTkKCiAgIOKNiSBhCgogICBiIOKGkCAx4oC/MuKAvzMg4qWKIOKGlTYKCiAgIOKJouKNiSBi">βοΈ</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> @@ -21,7 +21,7 @@ <span class='Function'>β’β</span> <span class='Value'>b</span> β¨ 2 3 1 β© </pre> -<h2 id="---reorder-axes"><a class="header" href="#---reorder-axes"><code><span class='Value'>π¨</span> <span class='Function'>β</span> <span class='Value'>π©</span></code>: Reorder Axes</a></h2> +<h2 id="π¨--π©-reorder-axes"><a class="header" href="#π¨--π©-reorder-axes"><code><span class='Value'>π¨</span> <span class='Function'>β</span> <span class='Value'>π©</span></code>: Reorder Axes</a></h2> <p>Rearrange the axes of <code><span class='Value'>π©</span></code> as per the axis indices in <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=ICAg4omiIGMg4oaQIDLigL8z4oC/NOKAvzXigL82IOKlijEKCiAgIOKJoiAx4oC/M+KAvzLigL8w4oC/NCDijYkgYw==">βοΈ</a><pre> <span class='Function'>β’</span> <span class='Value'>c</span> <span class='Gets'>β</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='Ligature'>βΏ</span><span class='Number'>5</span><span class='Ligature'>βΏ</span><span class='Number'>6</span> <span class='Function'>β₯</span><span class='Number'>1</span> β¨ 2 3 4 5 6 β© diff --git a/docs/help/under.html b/docs/help/under.html index 193d1fc1..c50a0af5 100644 --- a/docs/help/under.html +++ b/docs/help/under.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="circle-jot-"><a class="header" href="#circle-jot-">Circle Jot (<code><span class='Modifier2'>βΎ</span></code>)</a></h1> -<h2 id="-----under"><a class="header" href="#-----under"><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>: Under</a></h2> +<h2 id="π½πΎ-π©-π¨-π½πΎ-π©-under"><a class="header" href="#π½πΎ-π©-π¨-π½πΎ-π©-under"><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>: Under</a></h2> <ul> <li>Apply transformation <code><span class='Function'>πΎ</span></code> to all arguments</li> <li>Apply <code><span class='Function'>π½</span></code> to the transformed arguments</li> diff --git a/docs/help/undo.html b/docs/help/undo.html index 8707de72..2799abaf 100644 --- a/docs/help/undo.html +++ b/docs/help/undo.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="superscript-equals-sign-"><a class="header" href="#superscript-equals-sign-">Superscript Equals Sign (<code><span class='Modifier'>βΌ</span></code>)</a></h1> -<h2 id="-----undo"><a class="header" href="#-----undo"><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>: Undo</a></h2> +<h2 id="π½-π©-π¨-π½-π©-undo"><a class="header" href="#π½-π©-π¨-π½-π©-undo"><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>: Undo</a></h2> <p>Invert the function <code><span class='Function'>π½</span></code>, or use its defined inverse. Not all functions have inverses.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgMSAtIDIKCiAgIDEgLeKBvCAyCgogICDiiJogMTYKCiAgIOKImuKBvCA0CgogICDii4YgMQoKICAg4ouG4oG8IDIuNzE4MjgxODI4NDU5MDQ1">βοΈ</a><pre> <span class='Number'>1</span> <span class='Function'>-</span> <span class='Number'>2</span> Β―1 diff --git a/docs/help/valences.html b/docs/help/valences.html index 66069ae1..48078fe6 100644 --- a/docs/help/valences.html +++ b/docs/help/valences.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="circled-division-slash-"><a class="header" href="#circled-division-slash-">Circled Division Slash (<code><span class='Modifier2'>β</span></code>)</a></h1> -<h2 id="--valences"><a class="header" href="#--valences"><code><span class='Function'>π½</span><span class='Modifier2'>β</span><span class='Function'>πΎ</span> <span class='Value'>π©</span></code>: Valences</a></h2> +<h2 id="π½πΎ-π©-valences"><a class="header" href="#π½πΎ-π©-valences"><code><span class='Function'>π½</span><span class='Modifier2'>β</span><span class='Function'>πΎ</span> <span class='Value'>π©</span></code>: Valences</a></h2> <p>Apply <code><span class='Function'>π½</span></code> to <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=ICAgK+KKmC0gNQoKICAgLeKKmCsgNQ==">βοΈ</a><pre> <span class='Function'>+</span><span class='Modifier2'>β</span><span class='Function'>-</span> <span class='Number'>5</span> 5 @@ -13,7 +13,7 @@ <span class='Function'>-</span><span class='Modifier2'>β</span><span class='Function'>+</span> <span class='Number'>5</span> Β―5 </pre> -<h2 id="---dyadic-valences"><a class="header" href="#---dyadic-valences"><code><span class='Value'>π¨</span> <span class='Function'>π½</span><span class='Modifier2'>β</span><span class='Function'>πΎ</span> <span class='Value'>π©</span></code>: Dyadic Valences</a></h2> +<h2 id="π¨-π½πΎ-π©-dyadic-valences"><a class="header" href="#π¨-π½πΎ-π©-dyadic-valences"><code><span class='Value'>π¨</span> <span class='Function'>π½</span><span class='Modifier2'>β</span><span class='Function'>πΎ</span> <span class='Value'>π©</span></code>: Dyadic Valences</a></h2> <p>Apply <code><span class='Function'>πΎ</span></code> to <code><span class='Value'>π¨</span></code> and <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=ICAgNCAr4oqYLSA1CgogICA0IC3iipgrIDU=">βοΈ</a><pre> <span class='Number'>4</span> <span class='Function'>+</span><span class='Modifier2'>β</span><span class='Function'>-</span> <span class='Number'>5</span> Β―1 @@ -250,13 +250,13 @@ Markdown β {filenameππ©: f β <βΒ« tail # Character before trailing hashes π© /Λβ© Β¬ f (ββ¨"\"," ",""β©β<f/π©)βΆβ¨β£,β’,β’,0Β¨β’β© tail π© Trimβ© - # Add an id, containing only a-z, digits, and hyphens + # Add an id, usually containing only a-z, digits, and hyphens Slugify β { π© β© '-'Β¨βΎ((π©=' ')βΈ/) π© # Replace spaces with dashes bounds β β₯ "Aa"+β0βΏ26 # Of the upper and lowercase alphabet # Lowercase alphabetic characters and remove special characters b β bounds β π© - ((2|b)β¨ββ("-"βΎ'0'+β10))βΈ/ π©+32Γ1=b + ((2|b)β¨ββ("-ππππ½πΎπ€π©π¨π£ππΟβ³"βΎ'0'+β10))βΈ/ π©+32Γ1=b } ExtHtml β π©{ sβSlugify π β Q β """"βΈ(βΎβΎβ£) |
