Skip to content

Commit dcfccc7

Browse files
hartigTallTed
andauthored
Small edits as suggested by @TallTed
Co-authored-by: Ted Thibodeau Jr <[email protected]>
1 parent 272b757 commit dcfccc7

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

spec/index.html

+10-10
Original file line numberDiff line numberDiff line change
@@ -9567,16 +9567,16 @@ <h4>Aggregate Algebra</h4>
95679567
<p>where two lists <var>L</var> and <var>L'</var> (as produced by
95689568
the <a href="#defn_ListEval">ListEval</a> function) are considered
95699569
the same iff they have the same number of elements and, for every
9570-
position&nbsp;<var>k</var> within the two lists, any of the
9570+
position&nbsp;<var>k</var> within the two lists, either of the
95719571
following two conditions is true:</p>
95729572
<ul>
9573-
<li>either the element at the <var>k</var>-th position of
9574-
<var>L</var> is an RDF term, the element at the <var>k</var>-th
9575-
position of <var>L'</var> is also an RDF term, and these two
9576-
RDF terms are the <a href="#func-sameTerm">same term</a>;</li>
9577-
<li>or the element at the <var>k</var>-th position of <var>L</var>
9578-
is an error and the element at the <var>k</var>-th position of
9579-
<var>L'</var> is also an error.</li>
9573+
<li>the element at the <var>k</var>-th position of
9574+
<var>L</var> is an RDF term; the element at the <var>k</var>-th
9575+
position of <var>L'</var> is also an RDF term; and these two
9576+
RDF terms are the <a href="#func-sameTerm">same term</a></li>
9577+
<li>the element at the <var>k</var>-th position of <var>L</var>
9578+
is an error, and the element at the <var>k</var>-th position of
9579+
<var>L'</var> is also an error</li>
95809580
</ul>
95819581
</div>
95829582
<div class="defn">
@@ -9589,7 +9589,7 @@ <h4>Aggregate Algebra</h4>
95899589
<p>Note that, although the result of <a href="#defn_ListEval">ListEval</a>
95909590
may contain errors, and errors may be used
95919591
to group, solutions containing error values are removed at projection time.</p>
9592-
<p>Note also that the result of <a href="#defn_ListEval">ListEval</a>((unbound), μ)
9592+
<p>Note also that the result of <a href="#defn_ListEval">ListEval</a>((unbound), <var>μ</var>)
95939593
is the list (error), as the evaluation of an unbound expression is an
95949594
error.</p>
95959595
<p>Aggregation, a function which calculates a scalar value as an output of the aggregate
@@ -9612,7 +9612,7 @@ <h4>Aggregate Algebra</h4>
96129612
&nbsp;&nbsp;&nbsp;= { (key, F(Ψ)) | key → Ψ in { key<sub>1</sub>→Ψ<sub>1</sub>, ...,
96139613
key<sub>m</sub>→Ψ<sub>m</sub> } }</p>
96149614
<p>where<br>
9615-
&nbsp;&nbsp;M(Ψ) = [ <a href="#defn_ListEval">ListEval</a>(exprlist, μ) | μ in Ψ ]<br>
9615+
&nbsp;&nbsp;M(<var>Ψ</var>) = [ <a href="#defn_ListEval">ListEval</a>(exprlist, <var>μ</var>) | <var>μ</var> in <var>Ψ</var> ]<br>
96169616
&nbsp;&nbsp;F(Ψ) = func(M(Ψ), scalarvals), for non-<code>DISTINCT</code><br>
96179617
&nbsp;&nbsp;F(Ψ) = func(Dedup(M(Ψ)), scalarvals), for <code>DISTINCT</code></p>
96189618
<p>with Dedup(M(Ψ)) being an order-preserving, duplicate-free version of the sequence M(Ψ); that is, Dedup(M(Ψ)) is a sequence of lists that has the following four properties

0 commit comments

Comments
 (0)