Skip to content

Commit 7351436

Browse files
authored
Define difference for sets
Fixes #632.
1 parent 2e8f05a commit 7351436

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

infra.bs

+4
Original file line numberDiff line numberDiff line change
@@ -1726,6 +1726,10 @@ of creating a new <a>ordered set</a> |set| and, <a for=list>for each</a> |item|
17261726
<a for=list>cloning</a> |A| as |set| and, <a for=list>for each</a> |item| of |B|,
17271727
<a for=set>appending</a> |item| to |set|.
17281728

1729+
<p>The <dfn export for=set>difference</dfn> of <a>ordered sets</a> |A| and |B|, is the result
1730+
of creating a new <a>ordered set</a> |set| and, <a for=list>for each</a> |item| of |A|, if |B|
1731+
[=set/contains|does not contain=] |item|, <a for=set>appending</a> |item| to |set|.
1732+
17291733
<hr>
17301734

17311735
<p><dfn export lt="the range|the inclusive range">The range</dfn> <var>n</var> to <var>m</var>,

0 commit comments

Comments
 (0)