aboutsummaryrefslogtreecommitdiff
path: root/docs/help/endblock.html
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-01-20 07:58:45 -0500
committerGitHub <noreply@github.com>2022-01-20 07:58:45 -0500
commitbadafe5340c98a71c72d1f161a4756dc7782ba86 (patch)
treebc89e3b80c84d854f382e03fdbb5a43e08d791b8 /docs/help/endblock.html
parent97e5db7fa0bf2389589a99ccd26cf84c1e0ced73 (diff)
parentf3d45a1ca914d59968531a6d5c409d80b73e53c3 (diff)
Merge pull request #58 from razetime/master
complete REPL help for symbols
Diffstat (limited to 'docs/help/endblock.html')
-rw-r--r--docs/help/endblock.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/docs/help/endblock.html b/docs/help/endblock.html
new file mode 100644
index 00000000..5cac2a7c
--- /dev/null
+++ b/docs/help/endblock.html
@@ -0,0 +1,24 @@
+<head>
+ <link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/>
+ <link href="../style.css" rel="stylesheet"/>
+ <title>BQN: Right Curly 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-curly-bracket-"><a class="header" href="#right-curly-bracket-">Right Curly Bracket (<code><span class='Brace'>}</span></code>)</a></h1>
+<h2 id="--end-block"><a class="header" href="#--end-block"><code><span class='Value'>...</span> <span class='Brace'>}</span></code>: End Block</a></h2>
+<p>Starts a block, which starts with <code><span class='Brace'>}</span></code>. See <a href="beginblock.html">Begin Block</a> for more details.</p>
+<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=e/CdlaggKyDwnZWpfSAgICMgRnVuY3Rpb24KCnvwnZWo4oC/8J2UveKAv/Cdlal9ICAgIyAxLW1vZGlmaWVyCgp78J2VqOKAv/CdlL3igL/wnZS+4oC/8J2VqX0gIyAyLW1vZGlmaWVyCgp7YSDih5AgNX0gICAjIE5hbWVzcGFjZQoKezUrNCs2fSAgICMgSW1tZWRpYXRlIGJsb2Nr">↗️</a><pre> <span class='Brace'>{</span><span class='Value'>𝕨</span> <span class='Function'>+</span> <span class='Value'>𝕩</span><span class='Brace'>}</span> <span class='Comment'># Function
+</span>(function block)
+
+ <span class='Brace'>{</span><span class='Value'>𝕨</span><span class='Ligature'>‿</span><span class='Function'>𝔽</span><span class='Ligature'>‿</span><span class='Value'>𝕩</span><span class='Brace'>}</span> <span class='Comment'># 1-modifier
+</span>(1-modifier block)
+
+ <span class='Brace'>{</span><span class='Value'>𝕨</span><span class='Ligature'>‿</span><span class='Function'>𝔽</span><span class='Ligature'>‿</span><span class='Function'>𝔾</span><span class='Ligature'>‿</span><span class='Value'>𝕩</span><span class='Brace'>}</span> <span class='Comment'># 2-modifier
+</span>(2-modifier block)
+
+ <span class='Brace'>{</span><span class='Value'>a</span> <span class='Gets'>⇐</span> <span class='Number'>5</span><span class='Brace'>}</span> <span class='Comment'># Namespace
+</span>{a⇐}
+
+ <span class='Brace'>{</span><span class='Number'>5</span><span class='Function'>+</span><span class='Number'>4</span><span class='Function'>+</span><span class='Number'>6</span><span class='Brace'>}</span> <span class='Comment'># Immediate block
+</span>15
+</pre>