Skip to content

Commit 2aeeba0

Browse files
authored
Merge pull request #123 from w3c/FixDefinitionOfFlatten
Fixes the definition of the Flatten function
2 parents 07a7225 + 1e22564 commit 2aeeba0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

spec/index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9649,9 +9649,11 @@ <h4>Aggregate Algebra</h4>
96499649
<p>Flatten is a function which is used to collapse a sequence of lists into a single list.
96509650
For example, [(1,&nbsp;2), (3,&nbsp;4)] becomes (1, 2, 3, 4).</p>
96519651
<div class="defn">
9652-
<p><b>Definition: Flatten</b></p>
9653-
<p>The Flatten(S) function takes a sequence of lists, S = [(L<sub>1</sub>, L<sub>2</sub>,
9654-
...), ...], and returns the list ( x | L in S and x in L ).</p>
9652+
<p><b>Definition: <span id="defn_Flatten">Flatten</span></b></p>
9653+
<p>The Flatten(S) function takes a sequence S of lists,
9654+
i.e., S = [L<sub>1</sub>, L<sub>2</sub>, ..., L<sub>m</sub>]
9655+
where every L<sub>i</sub> is a list,
9656+
and returns the list ( x | L in S and x in L ).</p>
96559657
</div>
96569658
<p>Card is a function that returns the cardinality of a sequence or a list of elements (which may be solution mappings or other types of elements, depending on the context).
96579659
<div class="defn">

0 commit comments

Comments
 (0)