diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-06-23 16:53:49 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-06-23 16:54:14 -0400 |
| commit | 1c18950453d3b4281c921fdb79f80fe4bec6ec3e (patch) | |
| tree | 4bfded33525090e6f800ac0eaf16f580c4833d20 /docs/help | |
| parent | 72bf97658b8dd6f167908a8452116c86a950ff4b (diff) | |
Add [] to keybar and help
Diffstat (limited to 'docs/help')
| -rw-r--r-- | docs/help/beginarray.html | 20 | ||||
| -rw-r--r-- | docs/help/endarray.html | 19 |
2 files changed, 39 insertions, 0 deletions
diff --git a/docs/help/beginarray.html b/docs/help/beginarray.html new file mode 100644 index 00000000..07abccdf --- /dev/null +++ b/docs/help/beginarray.html @@ -0,0 +1,20 @@ +<head> + <link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/> + <link href="../style.css" rel="stylesheet"/> + <title>BQN: Left Square Bracket ([)</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="left-square-bracket-"><a class="header" href="#left-square-bracket-">Left Square Bracket (<code><span class='Bracket'>[</span></code>)</a></h1> +<h2 id="--begin-array"><a class="header" href="#--begin-array"><code><span class='Bracket'>[</span> <span class='Value'>...</span></code>: Begin array</a></h2> +<p><a class="fulldoc" href="../doc/arrayrepr.html#high-rank-arrays">→full documentation</a></p> +<p>Starts a high-rank array. Entries must be separated by <code><span class='Separator'>,</span></code> or <code><span class='Separator'>⋄</span></code>. These must have the same shape. They become major cells of the result.</p> +<p>Must end with a corresponding <code><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=WyJhYmMiLCAiZGVmIl0KClvihpU0LCDihpU1XQ==">↗️</a><pre> <span class='Bracket'>[</span><span class='String'>"abc"</span><span class='Separator'>,</span> <span class='String'>"def"</span><span class='Bracket'>]</span> +┌─ +╵"abc + def" + ┘ + + <span class='Bracket'>[</span><span class='Function'>↕</span><span class='Number'>4</span><span class='Separator'>,</span> <span class='Function'>↕</span><span class='Number'>5</span><span class='Bracket'>]</span> +<span class='Error'>Error: >: Elements didn't have equal shapes (contained shapes ⟨4⟩ and ⟨5⟩)</span> +</pre> diff --git a/docs/help/endarray.html b/docs/help/endarray.html new file mode 100644 index 00000000..44ccc07a --- /dev/null +++ b/docs/help/endarray.html @@ -0,0 +1,19 @@ +<head> + <link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/> + <link href="../style.css" rel="stylesheet"/> + <title>BQN: Right Square Bracket (])</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="right-square-bracket-"><a class="header" href="#right-square-bracket-">Right Square Bracket (<code><span class='Bracket'>]</span></code>)</a></h1> +<h2 id="--end-array"><a class="header" href="#--end-array"><code><span class='Value'>...</span> <span class='Bracket'>]</span></code>: End array</a></h2> +<p><a class="fulldoc" href="../doc/arrayrepr.html#high-rank-arrays">→full documentation</a></p> +<p>Ends an array started by a <code><span class='Bracket'>[</span></code>. See <a href="beginarray.html">Begin Array</a> for more details.</p> +<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=WyJhYmMiLCAiZGVmIl0KClvihpU0LCDihpU1XQ==">↗️</a><pre> <span class='Bracket'>[</span><span class='String'>"abc"</span><span class='Separator'>,</span> <span class='String'>"def"</span><span class='Bracket'>]</span> +┌─ +╵"abc + def" + ┘ + + <span class='Bracket'>[</span><span class='Function'>↕</span><span class='Number'>4</span><span class='Separator'>,</span> <span class='Function'>↕</span><span class='Number'>5</span><span class='Bracket'>]</span> +<span class='Error'>Error: >: Elements didn't have equal shapes (contained shapes ⟨4⟩ and ⟨5⟩)</span> +</pre> |
