aboutsummaryrefslogtreecommitdiff
path: root/docs/doc/syntax.html
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-07-08 22:06:05 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-07-08 22:06:05 -0400
commit7fa325f583a59a1999cd8ce093a49f8048a3e05c (patch)
tree5157b1cbd4af6318eb77b3fcf5d80420d0cba46d /docs/doc/syntax.html
parent9ce4441a2fec2f6bd301f9cf5ad801c9534d34eb (diff)
Simplify and update Couple/Merge docs
Diffstat (limited to 'docs/doc/syntax.html')
-rw-r--r--docs/doc/syntax.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/doc/syntax.html b/docs/doc/syntax.html
index 26af7c42..23f1a3a2 100644
--- a/docs/doc/syntax.html
+++ b/docs/doc/syntax.html
@@ -258,7 +258,7 @@
<h3 id="list-and-array-notation"><a class="header" href="#list-and-array-notation">List and array notation</a></h3>
<p><em><a href="arrayrepr.html#array-literals">Full documentation</a></em></p>
<p>Lists (1-dimensional arrays) are enclosed in angle brackets <code><span class='Bracket'>⟨⟩</span></code>, with the results of the expressions in between being the list's elements. Lists of two elements or more can also be written with the ligature character <code><span class='Ligature'>‿</span></code>. This character has higher binding strength than any part of an expression except <code><span class='Value'>.</span></code> for namespace field access. If one of the elements is a compound expression, then it will need to be enclosed in parentheses.</p>
-<p>Arrays, or at least non-empty ones with rank 1 or more, can be written with square brackets <code><span class='Bracket'>[]</span></code>. These work just like angle brackets but <a href="couple.html#merge-and-array-theory">merge</a> the elements so that they form cells of the result.</p>
+<p>Arrays, or at least non-empty ones with rank 1 or more, can be written with square brackets <code><span class='Bracket'>[]</span></code>. These work just like angle brackets but <a href="couple.html">merge</a> the elements so that they form cells of the result.</p>
<h3 id="blocks"><a class="header" href="#blocks">Blocks</a></h3>
<p><em><a href="block.html">Full documentation</a></em></p>
<p>Blocks are written with curly braces <code><span class='Brace'>{}</span></code> and can have a subject, function, or modifier role. The contents are any number of bodies separated by <code><span class='Head'>;</span></code>. Each body is a sequence of expressions to be evaluated in order, possibly with a header, followed by <code><span class='Head'>:</span></code>, that sets the type and describes expected inputs. A body runs in its own environment according to the rules of <a href="lexical.html">lexical scoping</a>. The result is either a <a href="namespace.html">namespace</a>, if the body used <code><span class='Gets'>⇐</span></code>, or the result of the last expression.</p>