Skip to content

Commit 6d672cd

Browse files
TptTallTed
andcommitted
Apply @TallTed suggestions
Co-authored-by: Ted Thibodeau Jr <[email protected]>
1 parent 24b6559 commit 6d672cd

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

spec/index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8894,7 +8894,7 @@ <h5>Grouping and Aggregation</h5>
88948894
Replace V with Sample(V)
88958895
End
88968896
For each aggregate R(args ; scalarvals) now in X
8897-
# note scalarvals may be omitted, then it's equivalent to the empty function
8897+
# note: scalarvals may be omitted; if so, it's equivalent to the empty function
88988898
A<span><sub>i</sub></span> := Aggregation(args, R, scalarvals, Grp)
88998899
Replace R(...) with agg<span><sub>i</sub></span> in Q
89008900
i := i + 1
@@ -9554,13 +9554,13 @@ <h4>Aggregate Algebra</h4>
95549554
<div id="defn_algAggregation">
95559555
<b>Definition: Aggregation</b>
95569556
</div>
9557-
<p>Let <i>exprlist</i> be a list of expressions or *, <i>func</i> a set function,
9558-
<i>scalarvals</i> a partial function (possibly with an empty domain) passed from the aggregate
9559-
in the query, and let { key<sub>1</sub>→Ψ<sub>1</sub>, ...,
9560-
key<sub>m</sub>→Ψ<sub>m</sub> } be a partial function from keys to
9557+
<p>Let <i>exprlist</i> be a list of expressions or `*`; <i>func</i>, a set function;
9558+
<i>scalarvals</i>, a partial function (possibly with an empty domain) passed from the aggregate
9559+
in the query; and { key<sub>1</sub>→Ψ<sub>1</sub>, ...,
9560+
key<sub>m</sub>→Ψ<sub>m</sub> }, a partial function from keys to
95619561
solution sequences as produced by the grouping step.</p>
9562-
<p>Aggregation applies the set function func to the given set and produces a
9563-
single value for each key and group of solutions for that key.</p>
9562+
<p>Aggregation applies the set function `func` to the given set and produces a
9563+
single value for each key and a group of solutions for that key.</p>
95649564
<p>Aggregation(exprlist, func, scalarvals, { key<sub>1</sub>→Ψ<sub>1</sub>, ...,
95659565
key<sub>m</sub>→Ψ<sub>m</sub> } )<br>
95669566
&nbsp;&nbsp;&nbsp;= { (key, F(Ψ)) | key → Ψ in { key<sub>1</sub>→Ψ<sub>1</sub>, ...,

0 commit comments

Comments
 (0)